8318540: make test cannot run .jasm tests directly

Backport-of: bd02cfd96f
This commit is contained in:
Aleksey Shipilev
2023-11-01 13:37:13 +00:00
committed by Vitaly Provodin
parent 40dd000216
commit b4e578da29

View File

@@ -357,7 +357,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 .sh,,$(subst .html,,$(subst .java,,$(suffix $(notdir $1)))))
$(subst .jasm,,$(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