Tue, 27 Aug 2013 22:05:53 -0400
8006164: [TESTBUG] compact profile hotspot test issues
Summary: Define profile-based test groups.
Reviewed-by: dcubed, mchung
test/TEST.ROOT | file | annotate | diff | comparison | revisions | |
test/TEST.groups | file | annotate | diff | comparison | revisions |
1.1 --- a/test/TEST.ROOT Fri Aug 23 12:36:32 2013 -0700 1.2 +++ b/test/TEST.ROOT Tue Aug 27 22:05:53 2013 -0400 1.3 @@ -25,7 +25,8 @@ 1.4 1.5 # This file identifies the root of the test-suite hierarchy. 1.6 # It also contains test-suite configuration information. 1.7 -# DO NOT EDIT without first contacting hotspot-regtest@sun.com 1.8 1.9 # The list of keywords supported in this test suite 1.10 keys=cte_test jcmd nmt regression gc 1.11 + 1.12 +groups=TEST.groups [closed/TEST.groups]
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/test/TEST.groups Tue Aug 27 22:05:53 2013 -0400 2.3 @@ -0,0 +1,190 @@ 2.4 +# 2.5 +# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 2.6 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 2.7 +# 2.8 +# This code is free software; you can redistribute it and/or modify it 2.9 +# under the terms of the GNU General Public License version 2 only, as 2.10 +# published by the Free Software Foundation. 2.11 +# 2.12 +# This code is distributed in the hope that it will be useful, but WITHOUT 2.13 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 2.14 +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 2.15 +# version 2 for more details (a copy is included in the LICENSE file that 2.16 +# accompanied this code). 2.17 +# 2.18 +# You should have received a copy of the GNU General Public License version 2.19 +# 2 along with this work; if not, write to the Free Software Foundation, 2.20 +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2.21 +# 2.22 +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2.23 +# or visit www.oracle.com if you need additional information or have any 2.24 +# questions. 2.25 +# 2.26 + 2.27 +# Profile-based Test Group Definitions 2.28 +# 2.29 +# These groups define the tests that cover the different possible runtimes: 2.30 +# - compact1, compact2, compact3, full JRE, JDK 2.31 +# 2.32 +# In addition they support testing of the minimal VM on compact1 and compact2. 2.33 +# Essentially this defines groups based around the specified API's and VM 2.34 +# services available in the runtime. 2.35 +# 2.36 +# The groups are defined hierarchically in two forms: 2.37 +# - The need_xxx groups list all the tests that have a dependency on 2.38 +# a specific profile. This is either because it tests a feature in 2.39 +# that profile, or the test infrastructure uses a feature in that 2.40 +# profile. 2.41 +# - The primary groups are defined in terms of the other primary groups 2.42 +# combined with the needs_xxx groups (including and excluding them as 2.43 +# appropriate). For example the jre can run all tests from compact3, plus 2.44 +# those from needs_jre, but excluding those from need_jdk. 2.45 +# 2.46 +# The bottom group defines all the actual tests to be considered, simply 2.47 +# by listing the top-level test directories. 2.48 +# 2.49 +# To use a group simply list it on the jtreg command line eg: 2.50 +# jtreg :jdk 2.51 +# runs all tests. While 2.52 +# jtreg :compact2 2.53 +# runs those tests that only require compact1 and compact2 API's. 2.54 +# 2.55 + 2.56 +# Full JDK can run all tests 2.57 +# 2.58 +jdk = \ 2.59 + :jre \ 2.60 + :needs_jdk 2.61 + 2.62 +# Tests that require a full JDK to execute. Either they test a feature 2.63 +# only in the JDK or they use tools that are only in the JDK. The latter 2.64 +# can be resolved in some cases by using tools from the compile-jdk. 2.65 +# 2.66 +needs_jdk = \ 2.67 + gc/TestG1ZeroPGCTJcmdThreadPrint.java \ 2.68 + gc/metaspace/ClassMetaspaceSizeInJmapHeap.java \ 2.69 + gc/metaspace/TestMetaspacePerfCounters.java \ 2.70 + runtime/6819213/TestBootNativeLibraryPath.java \ 2.71 + runtime/6878713/Test6878713.sh \ 2.72 + runtime/6925573/SortMethodsTest.java \ 2.73 + runtime/7107135/Test7107135.sh \ 2.74 + runtime/7158988/FieldMonitor.java \ 2.75 + runtime/7194254/Test7194254.java \ 2.76 + runtime/jsig/Test8017498.sh \ 2.77 + runtime/Metaspace/FragmentMetaspace.java \ 2.78 + runtime/NMT/BaselineWithParameter.java \ 2.79 + runtime/NMT/JcmdScale.java \ 2.80 + runtime/NMT/JcmdWithNMTDisabled.java \ 2.81 + runtime/NMT/MallocTestType.java \ 2.82 + runtime/NMT/ReleaseCommittedMemory.java \ 2.83 + runtime/NMT/ShutdownTwice.java \ 2.84 + runtime/NMT/SummaryAfterShutdown.java \ 2.85 + runtime/NMT/SummarySanityCheck.java \ 2.86 + runtime/NMT/ThreadedMallocTestType.java \ 2.87 + runtime/NMT/ThreadedVirtualAllocTestType.java \ 2.88 + runtime/NMT/VirtualAllocTestType.java \ 2.89 + runtime/RedefineObject/TestRedefineObject.java \ 2.90 + serviceability/attach/AttachWithStalePidFile.java 2.91 + 2.92 +# JRE adds further tests to compact3 2.93 +# 2.94 +jre = \ 2.95 + :compact3 \ 2.96 + :needs_jre \ 2.97 + -:needs_jdk 2.98 + 2.99 +# Tests that require the full JRE 2.100 +# 2.101 +needs_jre = \ 2.102 + compiler/6852078/Test6852078.java \ 2.103 + compiler/7047069/Test7047069.java \ 2.104 + runtime/6294277/SourceDebugExtension.java 2.105 + 2.106 +# Compact 3 adds further tests to compact2 2.107 +# 2.108 +compact3 = \ 2.109 + :compact2 \ 2.110 + :needs_compact3 \ 2.111 + -:needs_jre \ 2.112 + -:needs_jdk 2.113 + 2.114 + 2.115 +# Tests that require compact3 API's 2.116 +# 2.117 +needs_compact3 = \ 2.118 + compiler/whitebox/DeoptimizeMethodTest.java \ 2.119 + compiler/whitebox/SetForceInlineMethodTest.java \ 2.120 + compiler/whitebox/SetDontInlineMethodTest.java \ 2.121 + compiler/whitebox/DeoptimizeAllTest.java \ 2.122 + compiler/whitebox/MakeMethodNotCompilableTest.java \ 2.123 + compiler/whitebox/ClearMethodStateTest.java \ 2.124 + compiler/whitebox/EnqueueMethodForCompilationTest.java \ 2.125 + compiler/whitebox/IsMethodCompilableTest.java \ 2.126 + gc/6581734/Test6581734.java \ 2.127 + gc/7072527/TestFullGCCount.java \ 2.128 + gc/7168848/HumongousAlloc.java \ 2.129 + gc/arguments/TestG1HeapRegionSize.java \ 2.130 + gc/metaspace/TestMetaspaceMemoryPool.java \ 2.131 + runtime/InternalApi/ThreadCpuTimesDeadlock.java \ 2.132 + serviceability/threads/TestFalseDeadLock.java 2.133 + 2.134 +# Compact 2 adds full VM tests 2.135 +compact2 = \ 2.136 + :compact2_minimal \ 2.137 + :needs_full_vm_compact2 \ 2.138 + -:needs_compact3 \ 2.139 + -:needs_jre \ 2.140 + -:needs_jdk 2.141 + 2.142 +# Tests that require compact2 API's and a full VM 2.143 +# 2.144 +needs_full_vm_compact2 = 2.145 + 2.146 +# Compact 1 adds full VM tests 2.147 +# 2.148 +compact1 = \ 2.149 + :compact1_minimal \ 2.150 + :needs_full_vm_compact1 \ 2.151 + -:needs_compact2 \ 2.152 + -:needs_full_vm_compact2 \ 2.153 + -:needs_compact3 \ 2.154 + -:needs_jre \ 2.155 + -:needs_jdk 2.156 + 2.157 +# Tests that require compact1 API's and a full VM 2.158 +# 2.159 +needs_full_vm_compact1 = \ 2.160 + runtime/NMT \ 2.161 + gc/g1/TestRegionAlignment.java \ 2.162 + gc/g1/TestShrinkToOneRegion.java \ 2.163 + gc/metaspace/G1AddMetaspaceDependency.java \ 2.164 + runtime/6929067/Test6929067.sh 2.165 + 2.166 +# Minimal VM on Compact 2 adds in some compact2 tests 2.167 +# 2.168 +compact2_minimal = \ 2.169 + :compact1_minimal \ 2.170 + :needs_compact2 \ 2.171 + -:needs_compact3 \ 2.172 + -:needs_jre \ 2.173 + -:needs_jdk 2.174 + 2.175 +# Tests that require compact2 API's 2.176 +# 2.177 +needs_compact2 = \ 2.178 + compiler/6589834/Test_ia32.java 2.179 + 2.180 +# All tests that run on the most minimal configuration: Minimal VM on Compact 1 2.181 +compact1_minimal = \ 2.182 + serviceability/ \ 2.183 + compiler/ \ 2.184 + testlibrary/ \ 2.185 + sanity/ \ 2.186 + runtime/ \ 2.187 + gc/ \ 2.188 + -:needs_full_vm_compact1 \ 2.189 + -:needs_full_vm_compact2 \ 2.190 + -:needs_compact2 \ 2.191 + -:needs_compact3 \ 2.192 + -:needs_jre \ 2.193 + -:needs_jdk