changeset 2534:4d29ee32d926 jdk-9+160

8176196: sed from FindTests.gmk prints warnings Reviewed-by: erikj
author ihse
date Mon, 06 Mar 2017 13:39:34 +0100
parents 459d61aa3b54
children dd724f2c6161 8e58cdbcc371 1accf96fa79b
files make/common/FindTests.gmk
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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