mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8068013: [TESTBUG] Aix support in hotspot jtreg tests
Reviewed-by: ctornqvi, fzhinkin, farvidsson
This commit is contained in:
parent
b49c74e7fc
commit
1b1ac860df
5 changed files with 40 additions and 26 deletions
|
@ -3,7 +3,7 @@ import java.util.Set;
|
|||
import com.oracle.java.testlibrary.Platform;
|
||||
|
||||
/*
|
||||
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -39,14 +39,16 @@ public class DynLibDcmdTest {
|
|||
String result = DcmdUtil.executeDcmd("VM.dynlibs");
|
||||
|
||||
String osDependentBaseString = null;
|
||||
if (Platform.isSolaris()) {
|
||||
if (Platform.isAix()) {
|
||||
osDependentBaseString = "lib%s.so";
|
||||
} else if (Platform.isLinux()) {
|
||||
osDependentBaseString = "lib%s.so";
|
||||
} else if (Platform.isOSX()) {
|
||||
osDependentBaseString = "lib%s.dylib";
|
||||
} else if (Platform.isSolaris()) {
|
||||
osDependentBaseString = "lib%s.so";
|
||||
} else if (Platform.isWindows()) {
|
||||
osDependentBaseString = "%s.dll";
|
||||
} else if (Platform.isOSX()) {
|
||||
osDependentBaseString = "lib%s.dylib";
|
||||
} else if (Platform.isLinux()) {
|
||||
osDependentBaseString = "lib%s.so";
|
||||
}
|
||||
|
||||
if (osDependentBaseString == null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue