changeset 60847:5ab4f8e45098

8241707: introduce randomness k/w to hotspot test suite Reviewed-by: kvn, mseledtsov
author iignatyev
date Wed, 08 Apr 2020 22:54:35 -0700
parents 7a5ab15f6c98
children 193e4179def8
files test/hotspot/jtreg/TEST.ROOT test/hotspot/jtreg/testlibrary_tests/RandomGeneratorTest.java
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/hotspot/jtreg/TEST.ROOT	Wed Apr 08 21:01:01 2020 -0700
+++ b/test/hotspot/jtreg/TEST.ROOT	Wed Apr 08 22:54:35 2020 -0700
@@ -27,7 +27,8 @@
 # It also contains test-suite configuration information.
 
 # The list of keywords supported in this test suite
-keys=cte_test jcmd nmt regression gc stress metaspace headful intermittent
+# randomness:           test uses randomness, test cases differ from run to run
+keys=cte_test jcmd nmt regression gc stress metaspace headful intermittent randomness
 
 groups=TEST.groups TEST.quick-groups
 
--- a/test/hotspot/jtreg/testlibrary_tests/RandomGeneratorTest.java	Wed Apr 08 21:01:01 2020 -0700
+++ b/test/hotspot/jtreg/testlibrary_tests/RandomGeneratorTest.java	Wed Apr 08 22:54:35 2020 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2020, 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
@@ -23,7 +23,8 @@
 
 /*
  * @test
- * @summary Verify correctnes of the random generator from Utility.java
+ * @key randomness
+ * @summary Verify correctnes of the random generator from Utils.java
  * @library /test/lib
  * @modules java.base/jdk.internal.misc
  *          java.management