mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-21 12:20:29 +00:00
8382327: Disable some SA tests for mixed jstack on musl C
Reviewed-by: mbaesken, kevinw
This commit is contained in:
parent
26df25ef2d
commit
91cde7f160
@ -54,6 +54,10 @@ import jtreg.SkippedException;
|
||||
public class ClhsdbPstack {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
if (Platform.isMusl()) {
|
||||
throw new SkippedException("This test does not work on musl libc.");
|
||||
}
|
||||
|
||||
boolean withCore = Boolean.parseBoolean(args[0]);
|
||||
System.out.println("Starting ClhsdbPstack test: withCore==" + withCore);
|
||||
|
||||
|
||||
@ -33,6 +33,8 @@ import jdk.test.lib.Utils;
|
||||
import jdk.test.lib.apps.LingeredApp;
|
||||
import jdk.test.lib.process.OutputAnalyzer;
|
||||
|
||||
import jtreg.SkippedException;
|
||||
|
||||
/**
|
||||
* @test
|
||||
* @key randomness
|
||||
@ -174,6 +176,10 @@ public class TestJhsdbJstackMixed {
|
||||
}
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
if (Platform.isMusl()) {
|
||||
throw new SkippedException("This test does not work on musl libc.");
|
||||
}
|
||||
|
||||
SATestUtils.skipIfCannotAttach(); // throws SkippedException if attach not expected to work.
|
||||
LingeredApp app = null;
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2025, 2026, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2025, NTT DATA
|
||||
* Copyright (c) 2025, 2026, NTT DATA
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -27,11 +27,14 @@ import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import jdk.test.lib.JDKToolLauncher;
|
||||
import jdk.test.lib.Platform;
|
||||
import jdk.test.lib.SA.SATestUtils;
|
||||
import jdk.test.lib.Utils;
|
||||
import jdk.test.lib.apps.LingeredApp;
|
||||
import jdk.test.lib.process.OutputAnalyzer;
|
||||
|
||||
import jtreg.SkippedException;
|
||||
|
||||
/**
|
||||
* @test id=xcomp
|
||||
* @bug 8370176
|
||||
@ -111,6 +114,10 @@ public class TestJhsdbJstackMixedWithXComp {
|
||||
}
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
if (Platform.isMusl()) {
|
||||
throw new SkippedException("This test does not work on musl libc.");
|
||||
}
|
||||
|
||||
SATestUtils.skipIfCannotAttach(); // throws SkippedException if attach not expected to work.
|
||||
LingeredApp app = null;
|
||||
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
import jdk.test.lib.JDKToolLauncher;
|
||||
import jdk.test.lib.Platform;
|
||||
import jdk.test.lib.SA.SATestUtils;
|
||||
import jdk.test.lib.apps.LingeredApp;
|
||||
import jdk.test.lib.process.OutputAnalyzer;
|
||||
@ -43,6 +44,10 @@ public class TestJhsdbJstackPrintVMLocks {
|
||||
|
||||
final static int MAX_ATTEMPTS = 5;
|
||||
public static void main(String[] args) throws Exception {
|
||||
if (Platform.isMusl()) {
|
||||
throw new SkippedException("This test does not work on musl libc.");
|
||||
}
|
||||
|
||||
SATestUtils.skipIfCannotAttach(); // throws SkippedException if attach not expected to work.
|
||||
|
||||
LingeredApp theApp = null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user