Skip to content

Commit e48a9f8

Browse files
author
Vladimir Kempik
committed
Ignore TestOnError.java on macos_aarch64
1 parent 351be96 commit e48a9f8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/hotspot/jtreg/runtime/ErrorHandling/TestOnError.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@
2525
* @test TestOnError
2626
* @bug 8078470
2727
* @summary Test using -XX:OnError=<cmd>
28+
* COMMENTS
29+
* Macos_aarch64 (unlike macos_intel) doesn't let the java to create
30+
* core file with ErrorHandlerTest=12. so need to ignore this test there.
2831
* @modules java.base/jdk.internal.misc
2932
* @library /test/lib
30-
* @requires vm.debug
33+
* @requires vm.debug & !(os.arch == "aarch64" & os.family == "mac")
3134
* @run main TestOnError
3235
*/
3336

0 commit comments

Comments
 (0)