1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/TEST.groups Tue Aug 27 22:05:53 2013 -0400 1.3 @@ -0,0 +1,190 @@ 1.4 +# 1.5 +# Copyright (c) 2013, 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/ClassMetaspaceSizeInJmapHeap.java \ 1.69 + gc/metaspace/TestMetaspacePerfCounters.java \ 1.70 + runtime/6819213/TestBootNativeLibraryPath.java \ 1.71 + runtime/6878713/Test6878713.sh \ 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 + serviceability/attach/AttachWithStalePidFile.java 1.91 + 1.92 +# JRE adds further tests to compact3 1.93 +# 1.94 +jre = \ 1.95 + :compact3 \ 1.96 + :needs_jre \ 1.97 + -:needs_jdk 1.98 + 1.99 +# Tests that require the full JRE 1.100 +# 1.101 +needs_jre = \ 1.102 + compiler/6852078/Test6852078.java \ 1.103 + compiler/7047069/Test7047069.java \ 1.104 + runtime/6294277/SourceDebugExtension.java 1.105 + 1.106 +# Compact 3 adds further tests to compact2 1.107 +# 1.108 +compact3 = \ 1.109 + :compact2 \ 1.110 + :needs_compact3 \ 1.111 + -:needs_jre \ 1.112 + -:needs_jdk 1.113 + 1.114 + 1.115 +# Tests that require compact3 API's 1.116 +# 1.117 +needs_compact3 = \ 1.118 + compiler/whitebox/DeoptimizeMethodTest.java \ 1.119 + compiler/whitebox/SetForceInlineMethodTest.java \ 1.120 + compiler/whitebox/SetDontInlineMethodTest.java \ 1.121 + compiler/whitebox/DeoptimizeAllTest.java \ 1.122 + compiler/whitebox/MakeMethodNotCompilableTest.java \ 1.123 + compiler/whitebox/ClearMethodStateTest.java \ 1.124 + compiler/whitebox/EnqueueMethodForCompilationTest.java \ 1.125 + compiler/whitebox/IsMethodCompilableTest.java \ 1.126 + gc/6581734/Test6581734.java \ 1.127 + gc/7072527/TestFullGCCount.java \ 1.128 + gc/7168848/HumongousAlloc.java \ 1.129 + gc/arguments/TestG1HeapRegionSize.java \ 1.130 + gc/metaspace/TestMetaspaceMemoryPool.java \ 1.131 + runtime/InternalApi/ThreadCpuTimesDeadlock.java \ 1.132 + serviceability/threads/TestFalseDeadLock.java 1.133 + 1.134 +# Compact 2 adds full VM tests 1.135 +compact2 = \ 1.136 + :compact2_minimal \ 1.137 + :needs_full_vm_compact2 \ 1.138 + -:needs_compact3 \ 1.139 + -:needs_jre \ 1.140 + -:needs_jdk 1.141 + 1.142 +# Tests that require compact2 API's and a full VM 1.143 +# 1.144 +needs_full_vm_compact2 = 1.145 + 1.146 +# Compact 1 adds full VM tests 1.147 +# 1.148 +compact1 = \ 1.149 + :compact1_minimal \ 1.150 + :needs_full_vm_compact1 \ 1.151 + -:needs_compact2 \ 1.152 + -:needs_full_vm_compact2 \ 1.153 + -:needs_compact3 \ 1.154 + -:needs_jre \ 1.155 + -:needs_jdk 1.156 + 1.157 +# Tests that require compact1 API's and a full VM 1.158 +# 1.159 +needs_full_vm_compact1 = \ 1.160 + runtime/NMT \ 1.161 + gc/g1/TestRegionAlignment.java \ 1.162 + gc/g1/TestShrinkToOneRegion.java \ 1.163 + gc/metaspace/G1AddMetaspaceDependency.java \ 1.164 + runtime/6929067/Test6929067.sh 1.165 + 1.166 +# Minimal VM on Compact 2 adds in some compact2 tests 1.167 +# 1.168 +compact2_minimal = \ 1.169 + :compact1_minimal \ 1.170 + :needs_compact2 \ 1.171 + -:needs_compact3 \ 1.172 + -:needs_jre \ 1.173 + -:needs_jdk 1.174 + 1.175 +# Tests that require compact2 API's 1.176 +# 1.177 +needs_compact2 = \ 1.178 + compiler/6589834/Test_ia32.java 1.179 + 1.180 +# All tests that run on the most minimal configuration: Minimal VM on Compact 1 1.181 +compact1_minimal = \ 1.182 + serviceability/ \ 1.183 + compiler/ \ 1.184 + testlibrary/ \ 1.185 + sanity/ \ 1.186 + runtime/ \ 1.187 + gc/ \ 1.188 + -:needs_full_vm_compact1 \ 1.189 + -:needs_full_vm_compact2 \ 1.190 + -:needs_compact2 \ 1.191 + -:needs_compact3 \ 1.192 + -:needs_jre \ 1.193 + -:needs_jdk