Skip to content

Commit e1a26b9

Browse files
committed
Fix bug with original implementation
1 parent 69c3660 commit e1a26b9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

make/RunTests.gmk

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -845,6 +845,12 @@ define SetupRunJtregTestBody
845845
endif
846846
endif
847847

848+
ifeq ($$(JTREG_RUN_PROBLEM_LISTS), true)
849+
JTREG_PROBLEM_LIST_PREFIX := -match:
850+
else
851+
JTREG_PROBLEM_LIST_PREFIX := -exclude:
852+
endif
853+
848854
ifneq ($$(JTREG_TEST_THREAD_FACTORY), )
849855
$1_JTREG_BASIC_OPTIONS += -testThreadFactoryPath:$$(JTREG_TEST_THREAD_FACTORY_JAR)
850856
$1_JTREG_BASIC_OPTIONS += -testThreadFactory:$$(JTREG_TEST_THREAD_FACTORY)
@@ -906,12 +912,6 @@ define SetupRunJtregTestBody
906912
$1_JTREG_BASIC_OPTIONS += -nativepath:$$($1_JTREG_NATIVEPATH)
907913
endif
908914

909-
ifeq ($$(JTREG_RUN_PROBLEM_LISTS), true)
910-
JTREG_PROBLEM_LIST_PREFIX := -match:
911-
else
912-
JTREG_PROBLEM_LIST_PREFIX := -exclude:
913-
endif
914-
915915
ifneq ($$($1_JTREG_PROBLEM_LIST), )
916916
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$($1_JTREG_PROBLEM_LIST))
917917
endif

0 commit comments

Comments
 (0)