TEST.groups 8.5 KB
Newer Older
1
#
2
# Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
# 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.
#

# Profile-based Test Group Definitions
#
# These groups define the tests that cover the different possible runtimes:
# - compact1, compact2, compact3, full JRE, JDK
#
# In addition they support testing of the minimal VM on compact1 and compact2.
30
# Essentially this defines groups based around the specified API's and VM
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
# services available in the runtime.
#
# The groups are defined hierarchically in two forms:
# - The need_xxx groups list all the tests that have a dependency on
# a specific profile. This is either because it tests a feature in
# that profile, or the test infrastructure uses a feature in that
# profile.
# - The primary groups are defined in terms of the other primary groups
# combined with the needs_xxx groups (including and excluding them as
# appropriate). For example the jre can run all tests from compact3, plus
# those from needs_jre, but excluding those from need_jdk.
#
# The bottom group defines all the actual tests to be considered, simply
# by listing the top-level test directories.
#
# To use a group simply list it on the jtreg command line eg:
47
#   jtreg :jdk
48
# runs all tests. While
49
#   jtreg :compact2
50 51 52 53 54 55 56 57 58 59 60 61 62 63
# runs those tests that only require compact1 and compact2 API's.
#

# Full JDK can run all tests
#
jdk = \
  :jre \
  :needs_jdk

# Tests that require a full JDK to execute. Either they test a feature
# only in the JDK or they use tools that are only in the JDK. The latter
# can be resolved in some cases by using tools from the compile-jdk.
#
needs_jdk = \
64
  gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java \
65
  gc/metaspace/TestMetaspacePerfCounters.java \
66
  gc/metaspace/TestPerfCountersAndMemoryPools.java \
67 68 69 70 71 72 73 74
  runtime/6819213/TestBootNativeLibraryPath.java \
  runtime/6925573/SortMethodsTest.java \
  runtime/7107135/Test7107135.sh \
  runtime/7158988/FieldMonitor.java \
  runtime/7194254/Test7194254.java \
  runtime/jsig/Test8017498.sh \
  runtime/Metaspace/FragmentMetaspace.java \
  runtime/NMT/BaselineWithParameter.java \
75 76 77
  runtime/NMT/JcmdBaselineDetail.java \
  runtime/NMT/JcmdDetailDiff.java \
  runtime/NMT/JcmdScaleDetail.java \
78 79
  runtime/NMT/JcmdScale.java \
  runtime/NMT/JcmdWithNMTDisabled.java \
80 81 82
  runtime/NMT/MallocRoundingReportTest.java \
  runtime/NMT/MallocSiteHashOverflow.java \
  runtime/NMT/MallocStressTest.java \
83
  runtime/NMT/MallocTestType.java \
84
  runtime/NMT/MallocTrackingVerify.java \
85
  runtime/NMT/ReleaseCommittedMemory.java \
86
  runtime/NMT/ReleaseNoCommit.java \
87 88 89 90 91
  runtime/NMT/ShutdownTwice.java \
  runtime/NMT/SummaryAfterShutdown.java \
  runtime/NMT/SummarySanityCheck.java \
  runtime/NMT/ThreadedMallocTestType.java \
  runtime/NMT/ThreadedVirtualAllocTestType.java \
92
  runtime/NMT/VirtualAllocCommitUncommitRecommit.java \
93 94
  runtime/NMT/VirtualAllocTestType.java \
  runtime/RedefineObject/TestRedefineObject.java \
95
  runtime/Thread/TestThreadDumpMonitorContention.java \
96
  runtime/XCheckJniJsig/XCheckJSig.java \
97
  serviceability/attach/AttachWithStalePidFile.java \
98 99
  serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java \
  testlibrary_tests/
100

101 102 103 104 105 106 107 108 109 110 111 112 113

# JRE adds further tests to compact3
#
jre = \
  :compact3 \
  :needs_jre \
 -:needs_jdk

# Tests that require the full JRE
#
needs_jre = \
  compiler/6852078/Test6852078.java \
  compiler/7047069/Test7047069.java \
114 115 116
  runtime/6294277/SourceDebugExtension.java \
  runtime/ClassFile/JsrRewriting.java \
  runtime/ClassFile/OomWhileParsingRepeatedJsr.java
117 118 119 120 121 122 123 124 125 126

# Compact 3 adds further tests to compact2
#
compact3 = \
  :compact2 \
  :needs_compact3 \
 -:needs_jre \
 -:needs_jdk


127 128 129 130 131 132 133 134
# When called from top level the test suites use the hotspot_ prefix
hotspot_wbapitest = \
  sanity/

hotspot_compiler = \
  sanity/ExecuteInternalVMTests.java

hotspot_gc = \
135 136
  sanity/ExecuteInternalVMTests.java \
  -gc/g1/TestGreyReclaimedHumongousObjects.java
137 138 139 140 141 142 143 144 145 146 147 148

hotspot_runtime = \
  sanity/ExecuteInternalVMTests.java

hotspot_serviceability = \
  sanity/ExecuteInternalVMTests.java

hotspot_all = \
  :hotspot_compiler \
  :hotspot_gc \
  :hotspot_runtime \
  :hotspot_serviceability
149 150 151
# Tests that require compact3 API's
#
needs_compact3 = \
152 153
  compiler/jsr292/RedefineMethodUsedByMultipleMethodHandles.java \
  compiler/rangechecks/TestRangeCheckSmearing.java \
154 155 156 157 158 159 160 161 162 163
  compiler/whitebox/DeoptimizeMethodTest.java \
  compiler/whitebox/SetForceInlineMethodTest.java \
  compiler/whitebox/SetDontInlineMethodTest.java \
  compiler/whitebox/DeoptimizeAllTest.java \
  compiler/whitebox/MakeMethodNotCompilableTest.java \
  compiler/whitebox/ClearMethodStateTest.java \
  compiler/whitebox/EnqueueMethodForCompilationTest.java \
  compiler/whitebox/IsMethodCompilableTest.java \
  gc/6581734/Test6581734.java \
  gc/7072527/TestFullGCCount.java \
164
  gc/TestGCLogRotationViaJcmd.java \
165
  gc/g1/TestHumongousAllocInitialMark.java \
166
  gc/g1/TestHumongousShrinkHeap.java \
167
  gc/arguments/TestAggressiveHeap.java \
168 169
  gc/arguments/TestG1HeapRegionSize.java \
  gc/metaspace/TestMetaspaceMemoryPool.java \
170 171
  gc/arguments/TestDynMinHeapFreeRatio.java \
  gc/arguments/TestDynMaxHeapFreeRatio.java \
172 173 174 175 176 177 178
  gc/g1/TestShrinkAuxiliaryData00.java \
  gc/g1/TestShrinkAuxiliaryData05.java \
  gc/g1/TestShrinkAuxiliaryData10.java \
  gc/g1/TestShrinkAuxiliaryData15.java \
  gc/g1/TestShrinkAuxiliaryData20.java \
  gc/g1/TestShrinkAuxiliaryData25.java \
  gc/g1/TestShrinkAuxiliaryData30.java \
179
  gc/survivorAlignment \
180
  runtime/InternalApi/ThreadCpuTimesDeadlock.java \
181
  serviceability/threads/TestFalseDeadLock.java \
182 183
  serviceability/jvmti/GetObjectSizeOverflow.java \
  serviceability/jvmti/TestRedefineWithUnresolvedClass.java \
184
  serviceability/sa/jmap-hashcode/Test8028623.java \
185
  compiler/tiered/NonTieredLevelsTest.java \
186 187
  compiler/tiered/TieredLevelsTest.java \
  compiler/intrinsics/bmi/verifycode
188 189 190 191

# Compact 2 adds full VM tests
compact2 = \
  :compact2_minimal \
192
  :compact1 \
193 194 195 196 197 198
  :needs_full_vm_compact2 \
 -:needs_compact3 \
 -:needs_jre \
 -:needs_jdk

# Tests that require compact2 API's and a full VM
199
#
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216
needs_full_vm_compact2 =

# Compact 1 adds full VM tests
#
compact1 = \
  :compact1_minimal \
  :needs_full_vm_compact1 \
 -:needs_compact2 \
 -:needs_full_vm_compact2 \
 -:needs_compact3 \
 -:needs_jre \
 -:needs_jdk

# Tests that require compact1 API's and a full VM
#
needs_full_vm_compact1 = \
  runtime/NMT \
217
  gc/class_unloading/TestCMSClassUnloadingEnabledHWM.java \
218
  gc/class_unloading/TestG1ClassUnloadingHWM.java \
219
  gc/ergonomics/TestDynamicNumberOfGCThreads.java \
220 221 222
  gc/g1/TestRegionAlignment.java \
  gc/g1/TestShrinkToOneRegion.java \
  gc/metaspace/G1AddMetaspaceDependency.java \
223 224 225 226 227 228 229 230 231 232 233 234
  gc/startup_warnings/TestCMS.java \
  gc/startup_warnings/TestCMSIncrementalMode.java \
  gc/startup_warnings/TestCMSNoIncrementalMode.java \
  gc/startup_warnings/TestDefaultMaxRAMFraction.java \
  gc/startup_warnings/TestDefNewCMS.java \
  gc/startup_warnings/TestIncGC.java \
  gc/startup_warnings/TestParallelGC.java \
  gc/startup_warnings/TestParallelScavengeSerialOld.java \
  gc/startup_warnings/TestParNewCMS.java \
  gc/startup_warnings/TestParNewSerialOld.java \
  runtime/6929067/Test6929067.sh \
  runtime/SharedArchiveFile/SharedArchiveFile.java
235 236 237 238 239 240

# Minimal VM on Compact 2 adds in some compact2 tests
#
compact2_minimal = \
  :compact1_minimal \
  :needs_compact2 \
241
 -:needs_full_vm_compact2 \
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264
 -:needs_compact3 \
 -:needs_jre \
 -:needs_jdk

# Tests that require compact2 API's
#
needs_compact2 = \
  compiler/6589834/Test_ia32.java

# All tests that run on the most minimal configuration: Minimal VM on Compact 1
compact1_minimal = \
  serviceability/ \
  compiler/ \
  testlibrary/ \
  sanity/ \
  runtime/ \
  gc/ \
 -:needs_full_vm_compact1 \
 -:needs_full_vm_compact2 \
 -:needs_compact2 \
 -:needs_compact3 \
 -:needs_jre \
 -:needs_jdk