< prev index next >

test/compiler/intrinsics/sha/cli/TestUseSHAOptionOnSupportedCPU.java

Print this page
rev 8431 : 8081790: aarch64: SHA tests fail
Summary: Fix SHA tests in JTReg so they recognize aarch64
Reviewed-by: duke
Contributed-by: alexander.alexeev@caviumnetworks.com


  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /**
  25  * @test
  26  * @bug 8035968
  27  * @summary Verify UseSHA option processing on supported CPU,
  28  * @library /testlibrary /../../test/lib /compiler/testlibrary testcases
  29  * @modules java.base/sun.misc
  30  *          java.management
  31  * @build TestUseSHAOptionOnSupportedCPU
  32  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  33  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  34  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  35  *                   -XX:+WhiteBoxAPI TestUseSHAOptionOnSupportedCPU
  36  */
  37 public class TestUseSHAOptionOnSupportedCPU {
  38     public static void main(String args[]) throws Throwable {
  39         new SHAOptionsBase(
  40                 new GenericTestCaseForSupportedSparcCPU(
  41                         SHAOptionsBase.USE_SHA_OPTION),
  42                 new UseSHASpecificTestCaseForSupportedSparcCPU(
  43                         SHAOptionsBase.USE_SHA_OPTION)).test();
  44     }
  45 }


  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /**
  25  * @test
  26  * @bug 8035968
  27  * @summary Verify UseSHA option processing on supported CPU,
  28  * @library /testlibrary /../../test/lib /compiler/testlibrary testcases
  29  * @modules java.base/sun.misc
  30  *          java.management
  31  * @build TestUseSHAOptionOnSupportedCPU
  32  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  33  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  34  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  35  *                   -XX:+WhiteBoxAPI TestUseSHAOptionOnSupportedCPU
  36  */
  37 public class TestUseSHAOptionOnSupportedCPU {
  38     public static void main(String args[]) throws Throwable {
  39         new SHAOptionsBase(
  40                 new GenericTestCaseForSupportedCPU(
  41                         SHAOptionsBase.USE_SHA_OPTION),
  42                 new UseSHASpecificTestCaseForSupportedCPU(
  43                         SHAOptionsBase.USE_SHA_OPTION)).test();
  44     }
  45 }
< prev index next >