8221621: FindTests.gmk cannot handle "=" in TEST.groups comments
authoriklam
Thu, 28 Mar 2019 20:45:40 -0700
changeset 54334 f1548abd4ae0
parent 54333 2a29e62446bd
child 54335 d9f6d16299b1
8221621: FindTests.gmk cannot handle "=" in TEST.groups comments Reviewed-by: erikj, dholmes
make/common/FindTests.gmk
--- a/make/common/FindTests.gmk	Fri Mar 29 00:39:49 2019 +0000
+++ b/make/common/FindTests.gmk	Thu Mar 28 20:45:40 2019 -0700
@@ -53,6 +53,7 @@
         -e 's/^groups\w*=//p' $1/TEST.ROOT)
     $1_JTREG_GROUP_FILES := $$(addprefix $1/, $$($1_JTREG_GROUP_FILENAMES))
     $1_JTREG_TEST_GROUPS := $$(strip $$(shell $$(SED) -n \
+        -e 's/^\#.*//g' \
         -e 's/\([^ ]*\)\w*=.*/\1/gp' $$(wildcard $$($1_JTREG_GROUP_FILES)) \
         | $$(SORT) -u))
   endif