1#  Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
2#  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3#
4#  This code is free software; you can redistribute it and/or modify it
5#  under the terms of the GNU General Public License version 2 only, as
6#  published by the Free Software Foundation.
7#
8#  This code is distributed in the hope that it will be useful, but WITHOUT
9#  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10#  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11#  version 2 for more details (a copy is included in the LICENSE file that
12#  accompanied this code).
13#
14#  You should have received a copy of the GNU General Public License version
15#  2 along with this work; if not, write to the Free Software Foundation,
16#  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17#
18#  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
19#  or visit www.oracle.com if you need additional information or have any
20#  questions.
21#
22
23###############################################################################
24#
25# Tiered testing definitions
26#
27
28# When adding tests to tier1, make sure they end up in one of the tier1_partX groups
29tier1 = \
30    :tier1_part1 \
31    :tier1_part2 \
32    :tier1_part3
33
34tier1_part1 = \
35    :jdk_lang
36
37tier1_part2 = \
38    :jdk_util
39
40tier1_part3 = \
41    :jdk_math \
42    :jdk_svc_sanity \
43    java/nio/Buffer \
44    com/sun/crypto/provider/Cipher \
45    sun/nio/cs/ISO8859x.java \
46    tools/pack200
47
48# When adding tests to tier2, make sure they end up in one of the tier2_partX groups
49tier2 = \
50    :tier2_part1 \
51    :tier2_part2 \
52    :tier2_part3
53
54# com/sun/crypto/provider/Cipher is in tier1 because of JDK-8132855
55tier2_part1 = \
56    :jdk_security \
57    -com/sun/crypto/provider/Cipher
58
59# sun/nio/cs/ISO8859x.java and java/nio/Buffer are in tier1 because of JDK-8132854
60tier2_part2 = \
61    :core_tools \
62    -tools/pack200 \
63    :jdk_io \
64    :jdk_nio \
65    -java/nio/Buffer \
66    -sun/nio/cs/ISO8859x.java \
67    :jdk_other \
68    :jdk_text \
69    :jdk_time
70
71tier2_part3 = \
72    :jdk_net
73
74tier3 = \
75    :build \
76    :jdk_rmi \
77    :jdk_beans \
78    :jdk_imageio \
79    :jdk_sound \
80    :jdk_client_sanity
81
82###############################################################################
83#
84# Other test definitions; generally smaller granularity than tiers
85#
86
87# Build source checking
88build = \
89    build
90
91# java.lang package and VM runtime support
92jdk_lang = \
93    java/lang \
94    -java/lang/management \
95    -java/lang/instrument \
96    sun/invoke \
97    sun/misc \
98    sun/reflect \
99    jdk/internal/reflect \
100    jdk/lambda \
101    jdk/internal/loader \
102    jdk/internal/misc \
103    jdk/internal/ref \
104    jdk/internal/jimage \
105    jdk/internal/math \
106    jdk/modules \
107    vm
108
109# All of the java.util package
110jdk_util = \
111    :jdk_util_other \
112    :jdk_collections \
113    :jdk_concurrent \
114    :jdk_stream
115
116# All util components not part of some other util category
117jdk_util_other = \
118    java/util \
119    sun/util \
120    -:jdk_collections \
121    -:jdk_concurrent \
122    -:jdk_stream
123
124# All collections, core and concurrent
125jdk_collections = \
126    :jdk_collections_core \
127    :jdk_concurrent
128
129# java.util.concurrent
130# Includes concurrent collections plus other stuff
131# Maintained by JSR-166 EG (Doug Lea et al)
132jdk_concurrent = \
133    java/util/concurrent
134
135# Java Collections Framework core classes
136jdk_collections_core = \
137    java/util/AbstractCollection \
138    java/util/AbstractList \
139    java/util/AbstractMap \
140    java/util/AbstractSequentialList \
141    java/util/ArrayList \
142    java/util/Arrays \
143    java/util/BitSet \
144    java/util/Collection \
145    java/util/Collections \
146    java/util/Comparator \
147    java/util/Deque \
148    java/util/EnumMap \
149    java/util/EnumSet \
150    java/util/HashMap \
151    java/util/HashSet \
152    java/util/Hashtable \
153    java/util/IdentityHashMap \
154    java/util/Iterator \
155    java/util/LinkedHashMap \
156    java/util/LinkedHashSet \
157    java/util/LinkedList \
158    java/util/List \
159    java/util/Map \
160    java/util/NavigableMap \
161    java/util/PriorityQueue \
162    java/util/TimSort \
163    java/util/TreeMap \
164    java/util/Vector \
165    java/util/WeakHashMap
166
167# java.util.stream (JSR-335)
168jdk_stream = \
169    java/util/Optional \
170    java/util/function \
171    java/util/stream
172
173jdk_math = \
174    java/math
175
176jdk_io = \
177    java/io
178
179jdk_nio = \
180    java/nio \
181    sun/nio \
182    jdk/nio
183
184jdk_net = \
185    java/net \
186    com/sun/net/httpserver \
187    sun/net \
188    jdk/net
189
190jdk_time = \
191    java/time
192
193jdk_rmi = \
194    java/rmi \
195    sun/rmi
196
197jdk_security1 = \
198    java/security
199
200jdk_security2 = \
201    javax/crypto \
202    javax/xml/crypto \
203    com/oracle/security/ucrypto \
204    com/sun/crypto
205
206jdk_security3 = \
207    javax/security  \
208    -javax/security/auth/kerberos \
209    com/sun/jarsigner \
210    com/sun/security \
211    -com/sun/security/jgss \
212    com/sun/org/apache/xml/internal/security \
213    jdk/security \
214    sun/security \
215    -sun/security/krb5 \
216    -sun/security/jgss \
217    javax/net \
218    com/sun/net/ssl
219
220jdk_security4 = \
221    com/sun/security/jgss \
222    javax/security/auth/kerberos \
223    sun/security/krb5 \
224    sun/security/jgss
225
226jdk_security = \
227    :jdk_security1 \
228    :jdk_security2 \
229    :jdk_security3 \
230    :jdk_security4
231
232jdk_security_infra = \
233    security/infra/java/security/cert/CertPathValidator/certification
234
235jdk_text = \
236    java/text \
237    sun/text
238
239jdk_management = \
240    java/lang/management \
241    com/sun/management \
242    sun/management \
243    jdk/internal/agent
244
245jdk_instrument = \
246    java/lang/instrument
247
248jdk_jmx = \
249    javax/management \
250    com/sun/jmx
251
252jdk_jdi = \
253    com/sun/jdi
254
255jdk_native_sanity = \
256    native_sanity
257
258# java launcher specific tests.
259jdk_launcher = \
260    tools/launcher \
261    sun/tools
262
263#
264# Tool (and tool API) tests are split into core and svc groups
265#
266core_tools = \
267    tools \
268    jdk/internal/jrtfs \
269    sun/tools/java \
270    sun/tools/jrunscript
271
272svc_tools = \
273    com/sun/tools/attach \
274    sun/tools \
275    -sun/tools/java \
276    -sun/tools/jrunscript \
277    sun/jvmstat
278
279jdk_tools = \
280    :core_tools \
281    :svc_tools
282
283jdk_jfr = \
284    jdk/jfr
285
286#
287# Catch-all for other areas with a small number of tests
288#
289jdk_other = \
290    java/sql \
291    javax/sql \
292    javax/transaction \
293    javax/rmi \
294    javax/naming \
295    javax/script \
296    javax/smartcardio \
297    javax/xml \
298    -javax/xml/crypto \
299    jdk/internal/jline \
300    com/sun/jndi \
301    lib/testlibrary
302
303#
304# SCTP is its own group as it is highly sensitive to kernel/network config
305#
306jdk_sctp = \
307    com/sun/nio/sctp
308
309
310#
311# core group to run all core area tests
312#
313jdk_core = \
314    :jdk_lang \
315    :jdk_util \
316    :jdk_math \
317    :jdk_io \
318    :jdk_nio \
319    :jdk_net \
320    :jdk_rmi \
321    :jdk_time \
322    :jdk_security \
323    :jdk_text \
324    :core_tools \
325    :jdk_other
326
327#
328# svc group to run all serviceability area tests
329#
330jdk_svc = \
331    :jdk_management \
332    :jdk_instrument \
333    :jdk_jmx \
334    :jdk_jdi \
335    :jdk_jfr \
336    :svc_tools
337
338#############################
339
340#
341# Client area groups
342#
343
344jdk_awt = \
345    java/awt \
346    com/apple/eawt \
347    com/apple/laf \
348    sun/awt
349
350jdk_2d = \
351    javax/print \
352    sun/java2d
353
354jdk_beans = \
355    java/beans
356
357jdk_swing = \
358    javax/accessibility \
359    javax/swing \
360    com/sun/java/swing
361
362jdk_sound = \
363    javax/sound
364
365jdk_imageio = \
366    javax/imageio
367
368jfc_demo = \
369     demo/jfc
370
371jdk_desktop = \
372    :jdk_awt \
373    :jdk_2d \
374    :jdk_beans \
375    :jdk_swing \
376    :jdk_sound \
377    :jdk_imageio \
378    :jfc_demo
379
380# SwingSet3 tests.
381jdk_client_sanity = \
382    sanity/client/SwingSet
383
384# This test group represents a subset of tests which are expected to
385# exercise most of the most commonly used code in Swing applications.
386# New failures in this area may be a problem.
387jdk_swing_core = \
388     :jdk_client_sanity \
389     javax/swing
390
391# The most commonly used printing APIs are included here along with swing core.
392jdk_desktop_core = \
393    :jdk_swing_core \
394    java/awt/print
395
396###############################################################################
397#
398# Serviceability sanity groups
399#
400# These groups specify a subset of Serviceability tests that are supposed to
401# guard against breakage of Serviceability features by other component teams.
402
403jdk_svc_sanity = \
404    :jdk_management_sanity \
405    :jdk_instrument_sanity \
406    :jdk_jmx_sanity \
407    :jdk_jdi_sanity \
408    :jdk_jfr_sanity \
409    :svc_tools_sanity
410
411jdk_management_sanity =
412
413jdk_instrument_sanity =
414
415jdk_jmx_sanity =
416
417jdk_jdi_sanity = \
418    com/sun/jdi/AcceptTimeout.java \
419    com/sun/jdi/AccessSpecifierTest.java \
420    com/sun/jdi/AfterThreadDeathTest.java \
421    com/sun/jdi/ArrayRangeTest.java \
422    com/sun/jdi/ConstantPoolInfo.java \
423    com/sun/jdi/CountFilterTest.java \
424    com/sun/jdi/EarlyReturnNegativeTest.java \
425    com/sun/jdi/EarlyReturnTest.java \
426    com/sun/jdi/FieldWatchpoints.java \
427    com/sun/jdi/FramesTest.java \
428    com/sun/jdi/InstanceFilter.java \
429    com/sun/jdi/InterfaceMethodsTest.java \
430    com/sun/jdi/InvokeTest.java \
431    com/sun/jdi/LocalVariableEqual.java \
432    com/sun/jdi/LocationTest.java \
433    com/sun/jdi/ModificationWatchpoints.java \
434    com/sun/jdi/MonitorEventTest.java \
435    com/sun/jdi/MonitorFrameInfo.java \
436    com/sun/jdi/NullThreadGroupNameTest.java \
437    com/sun/jdi/PopAndStepTest.java \
438    com/sun/jdi/PopAsynchronousTest.java \
439    com/sun/jdi/ProcessAttachTest.java \
440    com/sun/jdi/ReferrersTest.java \
441    com/sun/jdi/RequestReflectionTest.java \
442    com/sun/jdi/ResumeOneThreadTest.java \
443    com/sun/jdi/RunToExit.java \
444    com/sun/jdi/SourceNameFilterTest.java \
445    com/sun/jdi/VarargsTest.java \
446    com/sun/jdi/Vars.java \
447    com/sun/jdi/redefineMethod/RedefineTest.java \
448    com/sun/jdi/sde/MangleTest.java \
449    com/sun/jdi/sde/TemperatureTableTest.java
450
451jdk_jfr_sanity = \
452    jdk/jfr/api/recording/event/TestLoadEventAfterStart.java \
453    jdk/jfr/api/recording/state/TestState.java \
454    jdk/jfr/event/os/TestCPULoad.java \
455    jdk/jfr/event/compiler/TestAllocInNewTLAB.java \
456    jdk/jfr/jcmd/TestJcmdStartStopDefault.java \
457    jdk/jfr/event/io/TestFileStreamEvents.java \
458    jdk/jfr/event/compiler/TestCompilerCompile.java \
459    jdk/jfr/event/gc/collection/TestGCGarbageCollectionEvent.java \
460    jdk/jfr/event/runtime/TestClassLoadEvent.java \
461    jdk/jfr/event/runtime/TestJavaBlockedEvent.java \
462    jdk/jfr/event/gc/collection/TestGCWithFasttime.java \
463    jdk/jfr/event/gc/configuration/TestGCConfigurationEvent.java \
464    jdk/jfr/event/metadata/TestDefaultConfigurations.java \
465    jdk/jfr/startupargs/TestDumpOnExit.java
466
467svc_tools_sanity =
468
469#############################
470#
471# Stable test groups
472#
473
474jdk_stable = \
475    :jdk_core \
476    :jdk_svc \
477    :jdk_beans \
478    :jdk_imageio \
479    :jdk_sound \
480    :jdk_sctp \
481    javax/accessibility \
482    com/sun/java/swing
483
484needs_g1gc = \
485  jdk/jfr/event/gc/refstat/TestRefStatEventWithG1ConcurrentMark.java \
486  jdk/jfr/event/gc/refstat/TestRefStatEventWithG1FullCollection.java \
487  jdk/jfr/event/gc/refstat/TestRefStatEventWithG1New.java \
488  jdk/jfr/event/gc/detailed/TestEvacuationFailedEvent.java \
489  jdk/jfr/event/gc/detailed/TestEvacuationInfoEvent.java \
490  jdk/jfr/event/gc/detailed/TestG1ConcurrentModeFailureEvent.java \
491  jdk/jfr/event/gc/collection/TestGCCauseWithG1ConcurrentMark.java \
492  jdk/jfr/event/gc/collection/TestGCCauseWithG1FullCollection.java \
493  jdk/jfr/event/gc/collection/TestYoungGarbageCollectionEventWithG1New.java \
494  jdk/jfr/event/gc/collection/TestGCEventMixedWithG1FullCollection.java \
495  jdk/jfr/event/gc/collection/TestGCEventMixedWithG1ConcurrentMark.java \
496  jdk/jfr/event/gc/collection/TestG1ParallelPhases.java \
497  jdk/jfr/event/gc/objectcount/TestObjectCountAfterGCEventWithG1FullCollection.java \
498  jdk/jfr/event/gc/objectcount/TestObjectCountAfterGCEventWithG1ConcurrentMark.java \
499  jdk/jfr/event/gc/heapsummary/TestHeapSummaryEventG1.java
500