test/TEST.groups

changeset 0
f90c822e73f8
child 6876
710a3c8b516e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/TEST.groups	Wed Apr 27 01:25:04 2016 +0800
     1.3 @@ -0,0 +1,217 @@
     1.4 +#
     1.5 +# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
     1.6 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.7 +#
     1.8 +# This code is free software; you can redistribute it and/or modify it
     1.9 +# under the terms of the GNU General Public License version 2 only, as
    1.10 +# published by the Free Software Foundation.
    1.11 +#
    1.12 +# This code is distributed in the hope that it will be useful, but WITHOUT
    1.13 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.14 +# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.15 +# version 2 for more details (a copy is included in the LICENSE file that
    1.16 +# accompanied this code).
    1.17 +#
    1.18 +# You should have received a copy of the GNU General Public License version
    1.19 +# 2 along with this work; if not, write to the Free Software Foundation,
    1.20 +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.21 +#
    1.22 +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    1.23 +# or visit www.oracle.com if you need additional information or have any
    1.24 +# questions.
    1.25 +#
    1.26 +
    1.27 +# Profile-based Test Group Definitions
    1.28 +#
    1.29 +# These groups define the tests that cover the different possible runtimes:
    1.30 +# - compact1, compact2, compact3, full JRE, JDK
    1.31 +#
    1.32 +# In addition they support testing of the minimal VM on compact1 and compact2.
    1.33 +# Essentially this defines groups based around the specified API's and VM
    1.34 +# services available in the runtime.
    1.35 +#
    1.36 +# The groups are defined hierarchically in two forms:
    1.37 +# - The need_xxx groups list all the tests that have a dependency on
    1.38 +# a specific profile. This is either because it tests a feature in
    1.39 +# that profile, or the test infrastructure uses a feature in that
    1.40 +# profile.
    1.41 +# - The primary groups are defined in terms of the other primary groups
    1.42 +# combined with the needs_xxx groups (including and excluding them as
    1.43 +# appropriate). For example the jre can run all tests from compact3, plus
    1.44 +# those from needs_jre, but excluding those from need_jdk.
    1.45 +#
    1.46 +# The bottom group defines all the actual tests to be considered, simply
    1.47 +# by listing the top-level test directories.
    1.48 +#
    1.49 +# To use a group simply list it on the jtreg command line eg:
    1.50 +#   jtreg :jdk
    1.51 +# runs all tests. While
    1.52 +#   jtreg :compact2
    1.53 +# runs those tests that only require compact1 and compact2 API's.
    1.54 +#
    1.55 +
    1.56 +# Full JDK can run all tests
    1.57 +#
    1.58 +jdk = \
    1.59 +  :jre \
    1.60 +  :needs_jdk
    1.61 +
    1.62 +# Tests that require a full JDK to execute. Either they test a feature
    1.63 +# only in the JDK or they use tools that are only in the JDK. The latter
    1.64 +# can be resolved in some cases by using tools from the compile-jdk.
    1.65 +#
    1.66 +needs_jdk = \
    1.67 +  gc/TestG1ZeroPGCTJcmdThreadPrint.java \
    1.68 +  gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java \
    1.69 +  gc/metaspace/TestMetaspacePerfCounters.java \
    1.70 +  gc/metaspace/TestPerfCountersAndMemoryPools.java \
    1.71 +  runtime/6819213/TestBootNativeLibraryPath.java \
    1.72 +  runtime/6925573/SortMethodsTest.java \
    1.73 +  runtime/7107135/Test7107135.sh \
    1.74 +  runtime/7158988/FieldMonitor.java \
    1.75 +  runtime/7194254/Test7194254.java \
    1.76 +  runtime/jsig/Test8017498.sh \
    1.77 +  runtime/Metaspace/FragmentMetaspace.java \
    1.78 +  runtime/NMT/BaselineWithParameter.java \
    1.79 +  runtime/NMT/JcmdScale.java \
    1.80 +  runtime/NMT/JcmdWithNMTDisabled.java \
    1.81 +  runtime/NMT/MallocTestType.java \
    1.82 +  runtime/NMT/ReleaseCommittedMemory.java \
    1.83 +  runtime/NMT/ShutdownTwice.java \
    1.84 +  runtime/NMT/SummaryAfterShutdown.java \
    1.85 +  runtime/NMT/SummarySanityCheck.java \
    1.86 +  runtime/NMT/ThreadedMallocTestType.java \
    1.87 +  runtime/NMT/ThreadedVirtualAllocTestType.java \
    1.88 +  runtime/NMT/VirtualAllocTestType.java \
    1.89 +  runtime/RedefineObject/TestRedefineObject.java \
    1.90 +  runtime/Thread/TestThreadDumpMonitorContention.java \
    1.91 +  runtime/XCheckJniJsig/XCheckJSig.java \
    1.92 +  serviceability/attach/AttachWithStalePidFile.java \
    1.93 +  serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java
    1.94 +
    1.95 +
    1.96 +# JRE adds further tests to compact3
    1.97 +#
    1.98 +jre = \
    1.99 +  :compact3 \
   1.100 +  :needs_jre \
   1.101 + -:needs_jdk
   1.102 +
   1.103 +# Tests that require the full JRE
   1.104 +#
   1.105 +needs_jre = \
   1.106 +  compiler/6852078/Test6852078.java \
   1.107 +  compiler/7047069/Test7047069.java \
   1.108 +  runtime/6294277/SourceDebugExtension.java \
   1.109 +  runtime/ClassFile/JsrRewriting.java \
   1.110 +  runtime/ClassFile/OomWhileParsingRepeatedJsr.java
   1.111 +
   1.112 +# Compact 3 adds further tests to compact2
   1.113 +#
   1.114 +compact3 = \
   1.115 +  :compact2 \
   1.116 +  :needs_compact3 \
   1.117 + -:needs_jre \
   1.118 + -:needs_jdk
   1.119 +
   1.120 +
   1.121 +# Tests that require compact3 API's
   1.122 +#
   1.123 +needs_compact3 = \
   1.124 +  compiler/whitebox/DeoptimizeMethodTest.java \
   1.125 +  compiler/whitebox/SetForceInlineMethodTest.java \
   1.126 +  compiler/whitebox/SetDontInlineMethodTest.java \
   1.127 +  compiler/whitebox/DeoptimizeAllTest.java \
   1.128 +  compiler/whitebox/MakeMethodNotCompilableTest.java \
   1.129 +  compiler/whitebox/ClearMethodStateTest.java \
   1.130 +  compiler/whitebox/EnqueueMethodForCompilationTest.java \
   1.131 +  compiler/whitebox/IsMethodCompilableTest.java \
   1.132 +  gc/6581734/Test6581734.java \
   1.133 +  gc/7072527/TestFullGCCount.java \
   1.134 +  gc/g1/TestHumongousAllocInitialMark.java \
   1.135 +  gc/arguments/TestG1HeapRegionSize.java \
   1.136 +  gc/metaspace/TestMetaspaceMemoryPool.java \
   1.137 +  gc/arguments/TestDynMinHeapFreeRatio.java \
   1.138 +  gc/arguments/TestDynMaxHeapFreeRatio.java \
   1.139 +  runtime/InternalApi/ThreadCpuTimesDeadlock.java \
   1.140 +  serviceability/threads/TestFalseDeadLock.java \
   1.141 +  serviceability/jvmti/GetObjectSizeOverflow.java \
   1.142 +  serviceability/jvmti/TestRedefineWithUnresolvedClass.java \
   1.143 +  compiler/tiered/NonTieredLevelsTest.java \
   1.144 +  compiler/tiered/TieredLevelsTest.java \
   1.145 +  compiler/intrinsics/bmi/verifycode
   1.146 +
   1.147 +# Compact 2 adds full VM tests
   1.148 +compact2 = \
   1.149 +  :compact2_minimal \
   1.150 +  :compact1 \
   1.151 +  :needs_full_vm_compact2 \
   1.152 + -:needs_compact3 \
   1.153 + -:needs_jre \
   1.154 + -:needs_jdk
   1.155 +
   1.156 +# Tests that require compact2 API's and a full VM
   1.157 +#
   1.158 +needs_full_vm_compact2 =
   1.159 +
   1.160 +# Compact 1 adds full VM tests
   1.161 +#
   1.162 +compact1 = \
   1.163 +  :compact1_minimal \
   1.164 +  :needs_full_vm_compact1 \
   1.165 + -:needs_compact2 \
   1.166 + -:needs_full_vm_compact2 \
   1.167 + -:needs_compact3 \
   1.168 + -:needs_jre \
   1.169 + -:needs_jdk
   1.170 +
   1.171 +# Tests that require compact1 API's and a full VM
   1.172 +#
   1.173 +needs_full_vm_compact1 = \
   1.174 +  runtime/NMT \
   1.175 +  gc/g1/TestRegionAlignment.java \
   1.176 +  gc/g1/TestShrinkToOneRegion.java \
   1.177 +  gc/metaspace/G1AddMetaspaceDependency.java \
   1.178 +  gc/startup_warnings/TestCMS.java \
   1.179 +  gc/startup_warnings/TestCMSIncrementalMode.java \
   1.180 +  gc/startup_warnings/TestCMSNoIncrementalMode.java \
   1.181 +  gc/startup_warnings/TestDefaultMaxRAMFraction.java \
   1.182 +  gc/startup_warnings/TestDefNewCMS.java \
   1.183 +  gc/startup_warnings/TestIncGC.java \
   1.184 +  gc/startup_warnings/TestParallelGC.java \
   1.185 +  gc/startup_warnings/TestParallelScavengeSerialOld.java \
   1.186 +  gc/startup_warnings/TestParNewCMS.java \
   1.187 +  gc/startup_warnings/TestParNewSerialOld.java \
   1.188 +  runtime/6929067/Test6929067.sh \
   1.189 +  runtime/SharedArchiveFile/SharedArchiveFile.java
   1.190 +
   1.191 +# Minimal VM on Compact 2 adds in some compact2 tests
   1.192 +#
   1.193 +compact2_minimal = \
   1.194 +  :compact1_minimal \
   1.195 +  :needs_compact2 \
   1.196 + -:needs_full_vm_compact2 \
   1.197 + -:needs_compact3 \
   1.198 + -:needs_jre \
   1.199 + -:needs_jdk
   1.200 +
   1.201 +# Tests that require compact2 API's
   1.202 +#
   1.203 +needs_compact2 = \
   1.204 +  compiler/6589834/Test_ia32.java
   1.205 +
   1.206 +# All tests that run on the most minimal configuration: Minimal VM on Compact 1
   1.207 +compact1_minimal = \
   1.208 +  serviceability/ \
   1.209 +  compiler/ \
   1.210 +  testlibrary/ \
   1.211 +  testlibrary_tests/ \
   1.212 +  sanity/ \
   1.213 +  runtime/ \
   1.214 +  gc/ \
   1.215 + -:needs_full_vm_compact1 \
   1.216 + -:needs_full_vm_compact2 \
   1.217 + -:needs_compact2 \
   1.218 + -:needs_compact3 \
   1.219 + -:needs_jre \
   1.220 + -:needs_jdk

mercurial