1 # Copyright (c) 2013, 2019, 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
29 tier1 = \
30 :tier1_part1 \
31 :tier1_part2 \
32 :tier1_part3
33
34 tier1_part1 = \
35 :jdk_lang
36
37 tier1_part2 = \
38 :jdk_util
39
40 tier1_part3 = \
41 :jdk_math \
42 :jdk_svc_sanity \
43 :jdk_foreign \
44 :jdk_jextract \
45 java/nio/Buffer \
46 com/sun/crypto/provider/Cipher \
47 sun/nio/cs/ISO8859x.java
48
49 # When adding tests to tier2, make sure they end up in one of the tier2_partX groups
50 tier2 = \
51 :tier2_part1 \
52 :tier2_part2 \
53 :tier2_part3
54
55 # com/sun/crypto/provider/Cipher is in tier1 because of JDK-8132855
56 tier2_part1 = \
57 :jdk_security \
58 -com/sun/crypto/provider/Cipher
59
60 # sun/nio/cs/ISO8859x.java and java/nio/Buffer are in tier1 because of JDK-8132854
61 tier2_part2 = \
62 :core_tools \
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
71 tier2_part3 = \
72 :jdk_net
73
74 tier3 = \
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
88 build = \
89 build
90
91 # java.lang package and VM runtime support
92 jdk_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
108 # All of the java.util package
109 jdk_util = \
110 :jdk_util_other \
111 :jdk_collections \
112 :jdk_concurrent \
113 :jdk_stream
114
115 # All util components not part of some other util category
116 jdk_util_other = \
117 java/util \
118 sun/util \
119 -:jdk_collections \
120 -:jdk_concurrent \
121 -:jdk_stream
122
123 # All collections, core and concurrent
124 jdk_collections = \
125 :jdk_collections_core \
126 :jdk_concurrent
127
128 # java.util.concurrent
129 # Includes concurrent collections plus other stuff
130 # Maintained by JSR-166 EG (Doug Lea et al)
131 jdk_concurrent = \
132 java/util/concurrent
133
134 # Java Collections Framework core classes
135 jdk_collections_core = \
136 java/util/AbstractCollection \
137 java/util/AbstractList \
138 java/util/AbstractMap \
139 java/util/AbstractSequentialList \
140 java/util/ArrayDeque \
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)
168 jdk_stream = \
169 java/util/Optional \
170 java/util/function \
171 java/util/stream
172
173 jdk_math = \
174 java/math
175
176 jdk_io = \
177 java/io
178
179 jdk_nio = \
180 java/nio \
181 sun/nio \
182 jdk/nio
183
184 jdk_net = \
185 java/net \
186 com/sun/net/httpserver \
187 sun/net \
188 jdk/net
189
190 jdk_time = \
191 java/time
192
193 jdk_rmi = \
194 java/rmi \
195 sun/rmi
196
197 jdk_security1 = \
198 java/security
199
200 jdk_security2 = \
201 javax/crypto \
202 javax/xml/crypto \
203 com/oracle/security/ucrypto \
204 com/sun/crypto
205
206 jdk_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
219 jdk_security4 = \
220 com/sun/security/jgss \
221 javax/security/auth/kerberos \
222 sun/security/krb5 \
223 sun/security/jgss
224
225 jdk_security = \
226 :jdk_security1 \
227 :jdk_security2 \
228 :jdk_security3 \
229 :jdk_security4
230
231 jdk_security_infra = \
232 security/infra/java/security/cert/CertPathValidator/certification
233
234 jdk_text = \
235 java/text \
236 sun/text
237
238 jdk_management = \
239 java/lang/management \
240 com/sun/management \
241 sun/management \
242 jdk/internal/agent
243
244 jdk_instrument = \
245 java/lang/instrument
246
247 jdk_jmx = \
248 javax/management \
249 com/sun/jmx
250
251 jdk_jdi = \
252 com/sun/jdi
253
254 jdk_native_sanity = \
255 native_sanity
256
257 # java launcher specific tests.
258 jdk_launcher = \
259 tools/launcher \
260 sun/tools
261
262 #
263 # Tool (and tool API) tests are split into core and svc groups
264 #
265 core_tools = \
266 tools \
267 jdk/internal/jrtfs \
268 sun/tools/java \
269 sun/tools/jrunscript
270
271 svc_tools = \
272 com/sun/tools/attach \
273 sun/tools \
274 -sun/tools/java \
275 -sun/tools/jrunscript \
276 sun/jvmstat
277
278 jdk_tools = \
279 :core_tools \
280 :svc_tools
281
282 jdk_jfr = \
283 jdk/jfr
284
285 #
286 # Catch-all for other areas with a small number of tests
287 #
288 jdk_other = \
289 java/sql \
290 javax/sql \
291 javax/transaction \
292 javax/rmi \
293 javax/naming \
294 javax/script \
295 javax/smartcardio \
296 javax/xml \
297 -javax/xml/crypto \
298 jdk/internal/jline \
299 com/sun/jndi \
300 lib/testlibrary
301
302 #
303 # SCTP is its own group as it is highly sensitive to kernel/network config
304 #
305 jdk_sctp = \
306 com/sun/nio/sctp
307
308
309 #
310 # core group to run all core area tests
311 #
312 jdk_core = \
313 :jdk_lang \
314 :jdk_util \
315 :jdk_math \
316 :jdk_io \
317 :jdk_nio \
318 :jdk_net \
319 :jdk_rmi \
320 :jdk_time \
321 :jdk_security \
322 :jdk_text \
323 :core_tools \
324 :jdk_other
325
326 #
327 # svc group to run all serviceability area tests
328 #
329 jdk_svc = \
330 :jdk_management \
331 :jdk_instrument \
332 :jdk_jmx \
333 :jdk_jdi \
334 :jdk_jfr \
335 :svc_tools
336
337 jdk_foreign = \
338 java/foreign
339
340 jdk_jextract = \
341 java/jextract
342
343 #############################
344
345 #
346 # Client area groups
347 #
348
349 jdk_awt = \
350 java/awt \
351 com/apple/eawt \
352 com/apple/laf \
353 sun/awt
354
355 jdk_2d = \
356 javax/print \
357 sun/java2d
358
359 jdk_beans = \
360 java/beans
361
362 jdk_swing = \
363 javax/swing \
364 com/sun/java/swing
365
366 jdk_sound = \
367 javax/sound
368
369 jdk_imageio = \
370 javax/imageio
371
372 jdk_accessibility = \
373 javax/accessibility \
374 com/sun/java/accessibility
375
376 jfc_demo = \
377 demo/jfc
378
379 jdk_desktop = \
380 :jdk_awt \
381 :jdk_2d \
382 :jdk_beans \
383 :jdk_swing \
384 :jdk_sound \
385 :jdk_imageio \
386 :jdk_accessibility \
387 :jfc_demo \
388 :jdk_client_sanity
389
390 # SwingSet3 tests.
391 jdk_client_sanity = \
392 sanity/client/SwingSet
393
394 # This test group represents a subset of tests which are expected to
395 # exercise most of the most commonly used code in Swing applications.
396 # New failures in this area may be a problem.
397 jdk_swing_core = \
398 :jdk_client_sanity \
399 javax/swing
400
401 # The most commonly used printing APIs are included here along with swing core.
402 jdk_desktop_core = \
403 :jdk_swing_core \
404 java/awt/print
405
406 ###############################################################################
407 #
408 # Serviceability sanity groups
409 #
410 # These groups specify a subset of Serviceability tests that are supposed to
411 # guard against breakage of Serviceability features by other component teams.
412
413 jdk_svc_sanity = \
414 :jdk_management_sanity \
415 :jdk_instrument_sanity \
416 :jdk_jmx_sanity \
417 :jdk_jdi_sanity \
418 :jdk_jfr_sanity \
419 :svc_tools_sanity
420
421 jdk_management_sanity =
422
423 jdk_instrument_sanity =
424
425 jdk_jmx_sanity =
426
427 jdk_jdi_sanity = \
428 com/sun/jdi/AcceptTimeout.java \
429 com/sun/jdi/AccessSpecifierTest.java \
430 com/sun/jdi/AfterThreadDeathTest.java \
431 com/sun/jdi/ArrayRangeTest.java \
432 com/sun/jdi/ConstantPoolInfo.java \
433 com/sun/jdi/CountFilterTest.java \
434 com/sun/jdi/EarlyReturnNegativeTest.java \
435 com/sun/jdi/EarlyReturnTest.java \
436 com/sun/jdi/FieldWatchpoints.java \
437 com/sun/jdi/FramesTest.java \
438 com/sun/jdi/InstanceFilter.java \
439 com/sun/jdi/InterfaceMethodsTest.java \
440 com/sun/jdi/InvokeTest.java \
441 com/sun/jdi/LocalVariableEqual.java \
442 com/sun/jdi/LocationTest.java \
443 com/sun/jdi/ModificationWatchpoints.java \
444 com/sun/jdi/MonitorEventTest.java \
445 com/sun/jdi/MonitorFrameInfo.java \
446 com/sun/jdi/NullThreadGroupNameTest.java \
447 com/sun/jdi/PopAndStepTest.java \
448 com/sun/jdi/PopAsynchronousTest.java \
449 com/sun/jdi/ProcessAttachTest.java \
450 com/sun/jdi/ReferrersTest.java \
451 com/sun/jdi/RequestReflectionTest.java \
452 com/sun/jdi/ResumeOneThreadTest.java \
453 com/sun/jdi/RunToExit.java \
454 com/sun/jdi/SourceNameFilterTest.java \
455 com/sun/jdi/VarargsTest.java \
456 com/sun/jdi/Vars.java \
457 com/sun/jdi/redefineMethod/RedefineTest.java \
458 com/sun/jdi/sde/MangleTest.java \
459 com/sun/jdi/sde/TemperatureTableTest.java
460
461 jdk_jfr_sanity = \
462 jdk/jfr/api/recording/event/TestLoadEventAfterStart.java \
463 jdk/jfr/api/recording/state/TestState.java \
464 jdk/jfr/event/os/TestCPULoad.java \
465 jdk/jfr/event/compiler/TestAllocInNewTLAB.java \
466 jdk/jfr/jcmd/TestJcmdStartStopDefault.java \
467 jdk/jfr/event/io/TestFileStreamEvents.java \
468 jdk/jfr/event/compiler/TestCompilerCompile.java \
469 jdk/jfr/event/gc/collection/TestGCGarbageCollectionEvent.java \
470 jdk/jfr/event/runtime/TestClassLoadEvent.java \
471 jdk/jfr/event/runtime/TestJavaBlockedEvent.java \
472 jdk/jfr/event/gc/collection/TestGCWithFasttime.java \
473 jdk/jfr/event/gc/configuration/TestGCConfigurationEvent.java \
474 jdk/jfr/event/metadata/TestDefaultConfigurations.java \
475 jdk/jfr/startupargs/TestDumpOnExit.java \
476 jdk/jfr/api/consumer/recordingstream/TestBasics.java
477
478 svc_tools_sanity =
479
480 #############################
481 #
482 # Stable test groups
483 #
484
485 jdk_stable = \
486 :jdk_core \
487 :jdk_svc \
488 :jdk_beans \
489 :jdk_imageio \
490 :jdk_sound \
491 :jdk_sctp \
492 javax/accessibility \
493 com/sun/java/swing
494
495 needs_g1gc = \
496 jdk/jfr/event/gc/refstat/TestRefStatEventWithG1ConcurrentMark.java \
497 jdk/jfr/event/gc/refstat/TestRefStatEventWithG1FullCollection.java \
498 jdk/jfr/event/gc/refstat/TestRefStatEventWithG1New.java \
499 jdk/jfr/event/gc/detailed/TestEvacuationFailedEvent.java \
500 jdk/jfr/event/gc/detailed/TestEvacuationInfoEvent.java \
501 jdk/jfr/event/gc/detailed/TestG1ConcurrentModeFailureEvent.java \
502 jdk/jfr/event/gc/collection/TestGCCauseWithG1ConcurrentMark.java \
503 jdk/jfr/event/gc/collection/TestGCCauseWithG1FullCollection.java \
504 jdk/jfr/event/gc/collection/TestYoungGarbageCollectionEventWithG1New.java \
505 jdk/jfr/event/gc/collection/TestGCEventMixedWithG1FullCollection.java \
506 jdk/jfr/event/gc/collection/TestGCEventMixedWithG1ConcurrentMark.java \
507 jdk/jfr/event/gc/collection/TestG1ParallelPhases.java \
508 jdk/jfr/event/gc/objectcount/TestObjectCountAfterGCEventWithG1FullCollection.java \
509 jdk/jfr/event/gc/objectcount/TestObjectCountAfterGCEventWithG1ConcurrentMark.java \
510 jdk/jfr/event/gc/heapsummary/TestHeapSummaryEventG1.java
--- EOF ---