8176196: sed from FindTests.gmk prints warnings
authorihse
Mon, 06 Mar 2017 13:39:34 +0100
changeset 44028 7fa83c9bad59
parent 44027 3a3050924db2
child 44029 736685bacdd9
child 44069 96be2f7d2bb4
child 44070 f332289b6df7
child 44305 de3cce1236b6
8176196: sed from FindTests.gmk prints warnings Reviewed-by: erikj
make/common/FindTests.gmk
--- a/make/common/FindTests.gmk	Fri Mar 03 12:57:57 2017 +0100
+++ b/make/common/FindTests.gmk	Mon Mar 06 13:39:34 2017 +0100
@@ -52,7 +52,8 @@
     $1_JTREG_GROUP_FILES := $$(addprefix $$($1_JTREG_TESTROOT)/, \
         $$($1_JTREG_GROUP_FILENAMES))
     $1_JTREG_TEST_GROUPS := $$(strip $$(shell $$(SED) -n \
-        -e 's/\([^ ]*\)\w*=.*/\1/gp' $$($1_JTREG_GROUP_FILES) | $$(SORT) -u))
+        -e 's/\([^ ]*\)\w*=.*/\1/gp' $$(wildcard $$($1_JTREG_GROUP_FILES)) \
+        | $$(SORT) -u))
   endif
 endef