8353214: Add testing with --enable-preview

Reviewed-by: erikj
This commit is contained in:
Leonid Mesnik
2025-04-23 16:13:23 +00:00
parent f097aa90c9
commit 2ec61f0f34
4 changed files with 69 additions and 0 deletions

View File

@@ -929,6 +929,11 @@ define SetupRunJtregTestBody
JTREG_AUTO_PROBLEM_LISTS += ProblemList-shenandoah.txt
endif
ifneq ($$(findstring --enable-preview, $$(JTREG_ALL_OPTIONS)), )
JTREG_AUTO_PROBLEM_LISTS += ProblemList-enable-preview.txt
endif
ifneq ($$(JTREG_EXTRA_PROBLEM_LISTS), )
# Accept both absolute paths as well as relative to the current test root.
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$(wildcard \