diff --git a/make/RunTests.gmk b/make/RunTests.gmk index 5fa0c381ebb..d31375d6a10 100644 --- a/make/RunTests.gmk +++ b/make/RunTests.gmk @@ -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 -> <> 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