8166837: [TESTBUG] Fix tests on Linux/s390x
Reviewed-by: simonis
This commit is contained in:
parent
e935e7cb1e
commit
04eb6a6783
@ -122,7 +122,7 @@ esac
|
||||
|
||||
# Skip unsupported platforms
|
||||
case `uname -m` in
|
||||
arm* | ppc* )
|
||||
arm* | ppc* | s390* )
|
||||
echo "Test passed. Not supported on current architecture."
|
||||
exit 0
|
||||
;;
|
||||
|
@ -44,7 +44,7 @@ import jdk.testlibrary.Utils;
|
||||
import jdk.testlibrary.OutputAnalyzer;
|
||||
import jdk.testlibrary.ProcessTools;
|
||||
import jdk.test.lib.apps.LingeredApp;
|
||||
import jdk.testlibrary.Platform;
|
||||
import jdk.test.lib.Platform;
|
||||
|
||||
public class BasicLauncherTest {
|
||||
|
||||
@ -230,8 +230,7 @@ public class BasicLauncherTest {
|
||||
Arrays.asList(toolArgs));
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
throws IOException {
|
||||
public static void main(String[] args) throws Exception {
|
||||
|
||||
if (!Platform.shouldSAAttach()) {
|
||||
// Silently skip the test if we don't have enough permissions to attach
|
||||
|
@ -41,7 +41,7 @@ import jdk.testlibrary.JDKToolLauncher;
|
||||
import jdk.testlibrary.OutputAnalyzer;
|
||||
import jdk.testlibrary.ProcessTools;
|
||||
import jdk.test.lib.apps.LingeredApp;
|
||||
import jdk.testlibrary.Platform;
|
||||
import jdk.test.lib.Platform;
|
||||
|
||||
public class HeapDumpTest {
|
||||
|
||||
@ -109,8 +109,7 @@ public class HeapDumpTest {
|
||||
dump.delete();
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
throws IOException {
|
||||
public static void main(String[] args) throws Exception {
|
||||
|
||||
if (!Platform.shouldSAAttach()) {
|
||||
// Silently skip the test if we don't have enough permissions to attach
|
||||
|
@ -30,7 +30,7 @@ import java.util.Map;
|
||||
|
||||
import jdk.test.lib.apps.LingeredApp;
|
||||
import jdk.testlibrary.Utils;
|
||||
import jdk.testlibrary.Platform;
|
||||
import jdk.test.lib.Platform;
|
||||
|
||||
/*
|
||||
* @test
|
||||
|
Loading…
Reference in New Issue
Block a user