aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarcy <unknown>2015-06-01 15:19:54 -0700
committerbell-sw <liberica@bell-sw.com>2019-10-23 16:23:15 +0300
commit659146f1d9c21aaeb90c74f9dd0c3f5e1807bfb7 (patch)
tree3fedf22ad38784c00569a3a1afab02ce1515021d
parentde7e425dfaff244f9563a1b1462e81613a429223 (diff)
downloadjdk8u_langtools-659146f1d9c21aaeb90c74f9dd0c3f5e1807bfb7.tar.gz
8075546: Add tiered testing definitions to the langtools repo
Reviewed-by: jjg
-rw-r--r--test/ProblemList.txt26
-rw-r--r--test/TEST.ROOT18
-rw-r--r--test/TEST.groups32
-rw-r--r--test/tools/javadoc/api/basic/GetTask_DocletClassTest.java1
4 files changed, 74 insertions, 3 deletions
diff --git a/test/ProblemList.txt b/test/ProblemList.txt
new file mode 100644
index 00000000..434b3ff4
--- /dev/null
+++ b/test/ProblemList.txt
@@ -0,0 +1,26 @@
+###########################################################################
+#
+# Copyright (c) 2015, 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
+# under the terms of the GNU General Public License version 2 only, as
+# published by the Free Software Foundation.
+#
+# This code is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# version 2 for more details (a copy is included in the LICENSE file that
+# accompanied this code).
+#
+# You should have received a copy of the GNU General Public License version
+# 2 along with this work; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+# or visit www.oracle.com if you need additional information or have any
+# questions.
+#
+###########################################################################
+
+# No langtools tests are on the problem list.
diff --git a/test/TEST.ROOT b/test/TEST.ROOT
index 6512c340..f26bcb43 100644
--- a/test/TEST.ROOT
+++ b/test/TEST.ROOT
@@ -1,6 +1,18 @@
# This file identifies the root of the test-suite hierarchy.
# It also contains test-suite configuration information.
-# DO NOT EDIT without first contacting jdk-regtest@sun.com.
-# The list of keywords supported in the entire test suite
-keys=2d dnd i18n
+# The list of keywords supported in the entire test suite. The
+# "intermittent" keyword marks tests known to fail intermittently.
+# The "randomness" keyword marks tests using randomness with test
+# cases differing from run to run. (A test using a fixed random seed
+# would not count as "randomness" by this definition.) Extra care
+# should be taken to handle test failures of intermittent or
+# randomness tests.
+
+keys=intermittent randomness
+
+# Group definitions
+groups=TEST.groups
+
+# Tests using jtreg 4.1 b11 features
+requiredVersion=4.1 b11
diff --git a/test/TEST.groups b/test/TEST.groups
new file mode 100644
index 00000000..bf049864
--- /dev/null
+++ b/test/TEST.groups
@@ -0,0 +1,32 @@
+# Copyright (c) 2015, 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
+# under the terms of the GNU General Public License version 2 only, as
+# published by the Free Software Foundation.
+#
+# This code is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# version 2 for more details (a copy is included in the LICENSE file that
+# accompanied this code).
+#
+# You should have received a copy of the GNU General Public License version
+# 2 along with this work; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+# or visit www.oracle.com if you need additional information or have any
+# questions.
+#
+
+# Tiered testing definitions
+
+# All langtools tests are tier 1
+tier1 = \
+ tools \
+ com \
+ lib
+
+# No langtools tests are tier 2
+tier2 =
diff --git a/test/tools/javadoc/api/basic/GetTask_DocletClassTest.java b/test/tools/javadoc/api/basic/GetTask_DocletClassTest.java
index c5085043..bc8858a8 100644
--- a/test/tools/javadoc/api/basic/GetTask_DocletClassTest.java
+++ b/test/tools/javadoc/api/basic/GetTask_DocletClassTest.java
@@ -27,6 +27,7 @@
* @summary javadoc should have a javax.tools.Tool service provider
* @build APITest
* @run main GetTask_DocletClassTest
+ * @key randomness
*/
import com.sun.javadoc.DocErrorReporter;