test/compiler/arguments/BMISupportedCPUTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/test/compiler/arguments/BMISupportedCPUTest.java Mon May 12 22:20:20 2014
--- new/test/compiler/arguments/BMISupportedCPUTest.java Mon May 12 22:20:20 2014
*** 47,72 ****
--- 47,70 ----
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 successfully start up without warnings
! CommandLineOptionTest.verifySameJVMStartup(null,
! new String[] { warningMessage }, ExitCode.OK,
+ CommandLineOptionTest.prepareBooleanFlag(optionName, true));
! // verify that VM will succesfully start up whithout warnings
! CommandLineOptionTest.
! verifyJVMStartup("-XX:-" + optionName,
null, new String[] { warningMessage },
ExitCode.OK);
! // 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",
! "-XX:-" + optionName);
! CommandLineOptionTest.prepareBooleanFlag(optionName, false));
}
}
test/compiler/arguments/BMISupportedCPUTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File