8221621: FindTests.gmk cannot handle "=" in TEST.groups comments

Reviewed-by: erikj, dholmes
This commit is contained in:
Ioi Lam 2019-03-28 20:45:40 -07:00
parent e90036145a
commit 88db8649df

View File

@ -53,6 +53,7 @@ define FindJtregGroupsBody
-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