8298324: Unable to run shell test with make

Reviewed-by: dholmes
This commit is contained in:
Erik Joelsson 2023-01-03 21:07:19 +00:00
parent 3eb85d19ec
commit 031829d885

View File

@ -352,7 +352,7 @@ ExpandJtregPath = \
# with test id: dir/Test.java#selection -> Test.java#selection -> .java#selection -> #selection
# without: dir/Test.java -> Test.java -> .java -> <<empty string>>
TestID = \
$(subst .java,,$(suffix $(notdir $1)))
$(subst .sh,,$(subst .html,,$(subst .java,,$(suffix $(notdir $1)))))
# The test id starting with a hash (#testid) will be stripped by all
# evals in ParseJtregTestSelectionInner and will be reinserted by calling