test/compiler/arguments/BMISupportedCPUTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
8038924 Cdiff test/compiler/arguments/BMISupportedCPUTest.java
test/compiler/arguments/BMISupportedCPUTest.java
Print this page
rev 6404 : 8038924: Test bit-instructions fails with unexpected exit value on sparc
Reviewed-by: iignatyev
Contributed-by: filipp.zhinkin@oracle.com
*** 47,72 ****
super(optionName, warningMessage, cpuFeatures, null);
}
@Override
public void runTestCases() throws Throwable {
! // verify that VM will succesfully start up whithout warnings
! CommandLineOptionTest.
! verifyJVMStartup("-XX:+" + optionName,
! null, new String[] { warningMessage },
! ExitCode.OK);
! // verify that VM will succesfully start up whithout warnings
! CommandLineOptionTest.
! verifyJVMStartup("-XX:-" + optionName,
! null, new String[] { warningMessage },
! ExitCode.OK);
// verify that on appropriate CPU option in on by default
! CommandLineOptionTest.verifyOptionValue(optionName, "true");
// verify that option could be explicitly turned off
! CommandLineOptionTest.verifyOptionValue(optionName, "false",
! "-XX:-" + optionName);
}
}
--- 47,70 ----
super(optionName, warningMessage, cpuFeatures, null);
}
@Override
public void runTestCases() throws Throwable {
! // verify that VM will successfully start up without warnings
! CommandLineOptionTest.verifySameJVMStartup(null,
! new String[] { warningMessage }, ExitCode.OK,
! CommandLineOptionTest.prepareBooleanFlag(optionName, true));
! // verify that VM will successfully start up without warnings
! CommandLineOptionTest.verifySameJVMStartup(null,
! new String[] { warningMessage }, ExitCode.OK,
! CommandLineOptionTest.prepareBooleanFlag(optionName, false));
// verify that on appropriate CPU option in on by default
! CommandLineOptionTest.verifyOptionValueForSameVM(optionName, "true");
// verify that option could be explicitly turned off
! CommandLineOptionTest.verifyOptionValueForSameVM(optionName, "false",
! CommandLineOptionTest.prepareBooleanFlag(optionName, false));
}
}
test/compiler/arguments/BMISupportedCPUTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File