Skip to content

Commit 0264797

Browse files
committed
8352730: RISC-V: Disable tests in qemu-user
Reviewed-by: fyang, mli
1 parent f1e06c3 commit 0264797

File tree

64 files changed

+71
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+71
-0
lines changed

test/hotspot/jtreg/runtime/os/TestTracePageSizes.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
* @build jdk.test.lib.Platform
3030
* @requires os.family == "linux"
3131
* @requires os.arch != "ppc64le"
32+
* @requires os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*")
3233
* @run main/othervm -XX:+AlwaysPreTouch -Xlog:pagesize:ps-%p.log TestTracePageSizes
3334
*/
3435

@@ -53,6 +54,7 @@
5354
* @build jdk.test.lib.Platform
5455
* @requires os.family == "linux"
5556
* @requires os.arch != "ppc64le"
57+
* @requires os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*")
5658
* @requires vm.gc != "Z" & vm.gc != "Shenandoah"
5759
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:-SegmentedCodeCache TestTracePageSizes
5860
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:-SegmentedCodeCache -XX:+UseLargePages TestTracePageSizes
@@ -66,6 +68,7 @@
6668
* @build jdk.test.lib.Platform
6769
* @requires os.family == "linux"
6870
* @requires os.arch != "ppc64le"
71+
* @requires os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*")
6972
* @requires vm.gc.G1
7073
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseG1GC TestTracePageSizes
7174
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseG1GC -XX:+UseLargePages TestTracePageSizes
@@ -79,6 +82,7 @@
7982
* @build jdk.test.lib.Platform
8083
* @requires os.family == "linux"
8184
* @requires os.arch != "ppc64le"
85+
* @requires os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*")
8286
* @requires vm.gc.Parallel
8387
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseParallelGC TestTracePageSizes
8488
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseParallelGC -XX:+UseLargePages TestTracePageSizes
@@ -92,6 +96,7 @@
9296
* @build jdk.test.lib.Platform
9397
* @requires os.family == "linux"
9498
* @requires os.arch != "ppc64le"
99+
* @requires os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*")
95100
* @requires vm.gc.Serial
96101
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseSerialGC TestTracePageSizes
97102
* @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseSerialGC -XX:+UseLargePages TestTracePageSizes

test/hotspot/jtreg/serviceability/dcmd/vm/SystemDumpMapTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
* @summary Test of diagnostic command System.map
3737
* @library /test/lib
3838
* @requires (os.family == "linux" | os.family == "windows" | os.family == "mac")
39+
* @requires os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*")
3940
* @modules java.base/jdk.internal.misc
4041
* java.compiler
4142
* java.management

test/hotspot/jtreg/serviceability/sa/ClhsdbAttach.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
* @bug 8191658
3434
* @summary Test clhsdb attach, detach, reattach commands
3535
* @requires vm.hasSA
36+
* @requires (os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*"))
3637
* @library /test/lib
3738
* @run main/othervm ClhsdbAttach
3839
*/

test/hotspot/jtreg/serviceability/sa/ClhsdbAttachDifferentJVMs.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
* @bug 8314679
3434
* @summary Test clhsdb attach, detach, and then attach to different JVM
3535
* @requires vm.hasSA
36+
* @requires (os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*"))
3637
* @library /test/lib
3738
* @run main/othervm ClhsdbAttachDifferentJVMs
3839
*/

test/hotspot/jtreg/serviceability/sa/ClhsdbClasses.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
* @bug 8242142
3434
* @summary Test clhsdb class and classes commands
3535
* @requires vm.hasSA
36+
* @requires (os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*"))
3637
* @library /test/lib
3738
* @run main/othervm ClhsdbClasses
3839
*/

test/hotspot/jtreg/serviceability/sa/ClhsdbDumpclass.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
* @bug 8240990
4040
* @summary Test clhsdb dumpclass command
4141
* @requires vm.hasSA
42+
* @requires (os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*"))
4243
* @library /test/lib
4344
* @run driver ClhsdbDumpclass
4445
*/

test/hotspot/jtreg/serviceability/sa/ClhsdbDumpheap.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
* @bug 8240989
4141
* @summary Test clhsdb dumpheap command
4242
* @requires vm.hasSA
43+
* @requires (os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*"))
4344
* @requires vm.compMode != "Xcomp"
4445
* @comment Running this test with -Xcomp is slow and therefore tends to cause
4546
* timeouts. As there is no known direct benefit from running the test

test/hotspot/jtreg/serviceability/sa/ClhsdbField.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
* @bug 8191538
3333
* @summary Test clhsdb 'field' command
3434
* @requires vm.hasSA
35+
* @requires (os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*"))
3536
* @library /test/lib
3637
* @run main/othervm ClhsdbField
3738
*/

test/hotspot/jtreg/serviceability/sa/ClhsdbFindPC.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
* @summary Test the clhsdb 'findpc' command with Xcomp on live process
3838
* @requires vm.compMode != "Xcomp"
3939
* @requires vm.hasSA
40+
* @requires (os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*"))
4041
* @requires vm.compiler1.enabled
4142
* @requires vm.opt.DeoptimizeALot != true
4243
* @library /test/lib
@@ -60,6 +61,7 @@
6061
* @bug 8193124
6162
* @summary Test the clhsdb 'findpc' command w/o Xcomp on live process
6263
* @requires vm.hasSA
64+
* @requires (os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*"))
6365
* @requires vm.compiler1.enabled
6466
* @library /test/lib
6567
* @run main/othervm/timeout=480 ClhsdbFindPC false false

test/hotspot/jtreg/serviceability/sa/ClhsdbFlags.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
* @bug 8217845
3737
* @summary Test clhsdb flags command
3838
* @requires vm.hasSA
39+
* @requires (os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*"))
3940
* @library /test/lib
4041
* @run driver ClhsdbFlags
4142
*/

0 commit comments

Comments
 (0)