test/TestCommon.gmk
changeset 49179 4b273ed9a82d
parent 48980 ab7784555b4c
child 49194 ece10494786c
--- a/test/TestCommon.gmk	Tue Feb 27 21:29:08 2018 -0800
+++ b/test/TestCommon.gmk	Tue Feb 27 21:29:19 2018 -0800
@@ -325,13 +325,14 @@
 endif
 
 # Problematic tests to be excluded
-PROBLEM_LISTS=$(call MixedDirs,$(wildcard ProblemList.txt))
+EXTRA_PROBLEM_LISTS :=
+PROBLEM_LISTS := ProblemList.txt $(EXTRA_PROBLEM_LISTS)
 
 # Create exclude list for this platform and arch
 ifdef NO_EXCLUDES
   JTREG_EXCLUSIONS =
 else
-  JTREG_EXCLUSIONS = $(PROBLEM_LISTS:%=-exclude:%)
+  JTREG_EXCLUSIONS = $(addprefix -exclude:, $(wildcard $(PROBLEM_LISTS)))
 endif
 
 # convert list of directories to dos paths