test/compiler/arguments/TestUseCountTrailingZerosInstructionOnUnsupportedCPU.java

Print this page

        

@@ -57,19 +57,25 @@
           Verify that option will not be turned on during UseBMI1Instructions
           processing. VM will be launched with following options:
           -XX:+UseBMI1Instructions -version
         */
         CommandLineOptionTest.verifyOptionValueForSameVM(optionName, "false",
+                "Feature bmi1 is not supported on current CPU. Option "
+                    + "UseCountTrailingZerosInstruction should have 'false'"
+                    + " value",
                 TestUseCountTrailingZerosInstructionOnUnsupportedCPU.
                         ENABLE_BMI);
 
         /*
           VM will be launched with following options:
           -XX:+UseCountTrailingZerosInstruction -XX:+UseBMI1Instructions
           -version
         */
         CommandLineOptionTest.verifyOptionValueForSameVM(optionName, "false",
+                    "Feature bmi1 is not supported on current CPU. Option "
+                    + "UseCountTrailingZerosInstruction should have 'false'"
+                    + " value",
                 CommandLineOptionTest.prepareBooleanFlag(optionName, true),
                 TestUseCountTrailingZerosInstructionOnUnsupportedCPU.
                         ENABLE_BMI);
     }