Skip to content

Commit 517405e

Browse files
theaoqiy1yang0
authored andcommittedSep 22, 2021
8273965: some testlibrary_tests/ir_framework tests fail when c1 disabled
Reviewed-by: chagedorn, thartmann
1 parent 11cddd3 commit 517405e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestCompLevels.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
/*
3232
* @test
33-
* @requires vm.flagless
33+
* @requires vm.flagless & vm.compiler1.enabled
3434
* @summary Test if compilation levels are used correctly in the framework.
3535
* This test partly runs directly the test VM which normally does and should not happen in user tests.
3636
* @library /test/lib /

‎test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestControls.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
/*
3737
* @test
38-
* @requires vm.debug == true & vm.compMode != "Xint" & vm.compiler2.enabled & vm.flagless
38+
* @requires vm.debug == true & vm.compMode != "Xint" & vm.compiler1.enabled & vm.compiler2.enabled & vm.flagless
3939
* @summary Test if compilation control annotaions are handled correctly in the framework.
4040
* This test partly runs directly the test VM which normally does and should not happen in user tests.
4141
* @library /test/lib /

‎test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestRunTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
/*
3434
* @test
35-
* @requires vm.debug == true & vm.compMode != "Xint" & vm.compiler2.enabled & vm.flagless
35+
* @requires vm.debug == true & vm.compMode != "Xint" & vm.compiler1.enabled & vm.compiler2.enabled & vm.flagless
3636
* @summary Test different custom run tests.
3737
* @library /test/lib /testlibrary_tests /
3838
* @run driver ir_framework.tests.TestRunTests

0 commit comments

Comments
 (0)
Please sign in to comment.