-
Notifications
You must be signed in to change notification settings - Fork 5.8k
/
Copy pathTEST.groups
671 lines (574 loc) · 16.6 KB
/
TEST.groups
1
2
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
# Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
# 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.
#
###############################################################################
#
# All tests
#
all = \
:jdk_all
jdk_all = \
/
###############################################################################
#
# Tiered testing definitions
#
# When adding tests to tier1, make sure they end up in one of the tier1_partX groups
tier1 = \
:tier1_part1 \
:tier1_part2 \
:tier1_part3
tier1_part1 = \
:jdk_lang
tier1_part2 = \
:jdk_util
tier1_part3 = \
:jdk_math \
:jdk_svc_sanity \
:jdk_foreign \
:jdk_vector_sanity \
java/nio/Buffer \
com/sun/crypto/provider/Cipher \
jdk/classfile \
sun/nio/cs/ISO8859x.java
# When adding tests to tier2, make sure they end up in one of the tier2_partX groups
tier2 = \
:tier2_part1 \
:tier2_part2 \
:tier2_part3
# com/sun/crypto/provider/Cipher is in tier1 because of JDK-8132855
tier2_part1 = \
:jdk_security \
-com/sun/crypto/provider/Cipher
# sun/nio/cs/ISO8859x.java and java/nio/Buffer are in tier1 because of JDK-8132854
tier2_part2 = \
:core_tools \
:jdk_io \
:jdk_nio \
-java/nio/Buffer \
-sun/nio/cs/ISO8859x.java \
:jdk_other \
:jdk_text \
:jdk_time
tier2_part3 = \
:jdk_net
tier3 = \
:build \
:jdk_vector \
-:jdk_vector_sanity \
:jdk_rmi \
:jdk_svc \
-:jdk_svc_sanity \
-:svc_tools \
:jdk_jpackage \
:jdk_since_checks
# Everything not in other tiers
tier4 = \
/ \
-:tier1 \
-:tier2 \
-:tier3 \
:jdk_foreign_stress
###############################################################################
#
# Other test definitions; generally smaller granularity than tiers
#
# Build source checking
build = \
build
# java.lang package and VM runtime support
jdk_lang = \
java/lang \
-java/lang/management \
-java/lang/instrument \
sun/invoke \
sun/misc \
sun/reflect \
jdk/internal/reflect \
jdk/lambda \
jdk/internal/loader \
jdk/internal/misc \
jdk/internal/ref \
jdk/internal/jimage \
jdk/internal/math \
jdk/internal/vm \
jdk/modules \
jni/nullCaller
# All of the java.util package
jdk_util = \
:jdk_util_other \
:jdk_collections \
:jdk_concurrent \
:jdk_stream
# All util components not part of some other util category
jdk_util_other = \
java/util \
sun/util \
jdk/internal/util \
-:jdk_collections \
-:jdk_concurrent \
-:jdk_stream
# All collections, core and concurrent
jdk_collections = \
:jdk_collections_core \
:jdk_concurrent
# java.util.concurrent
# Includes concurrent collections plus other stuff
# Maintained by JSR-166 EG (Doug Lea et al)
jdk_concurrent = \
java/util/concurrent
# Java Collections Framework core classes
jdk_collections_core = \
java/util/AbstractCollection \
java/util/AbstractList \
java/util/AbstractMap \
java/util/AbstractSequentialList \
java/util/ArrayDeque \
java/util/ArrayList \
java/util/Arrays \
java/util/BitSet \
java/util/Collection \
java/util/Collections \
java/util/Comparator \
java/util/Deque \
java/util/EnumMap \
java/util/EnumSet \
java/util/HashMap \
java/util/HashSet \
java/util/Hashtable \
java/util/IdentityHashMap \
java/util/Iterator \
java/util/LinkedHashMap \
java/util/LinkedHashSet \
java/util/LinkedList \
java/util/List \
java/util/Map \
java/util/NavigableMap \
java/util/PriorityQueue \
java/util/SequencedCollection \
java/util/TimSort \
java/util/TreeMap \
java/util/Vector \
java/util/WeakHashMap
# java.util.stream (JSR-335)
jdk_stream = \
java/util/Optional \
java/util/function \
java/util/stream
jdk_math = \
java/math
jdk_io = \
java/io
jdk_nio = \
java/nio \
sun/nio \
jdk/nio
jdk_net = \
java/net \
com/sun/net/httpserver \
sun/net \
jdk/net
jdk_time = \
java/time
jdk_rmi = \
java/rmi \
sun/rmi
jdk_security1 = \
java/security
jdk_security2 = \
javax/crypto \
javax/xml/crypto \
com/sun/org/apache/xml/internal/security \
com/sun/crypto
jdk_security3 = \
javax/security \
-javax/security/auth/kerberos \
com/sun/security \
-com/sun/security/jgss \
jdk/security \
sun/security \
-sun/security/krb5 \
-sun/security/jgss \
javax/net
jdk_security4 = \
com/sun/security/jgss \
javax/security/auth/kerberos \
sun/security/krb5 \
sun/security/jgss
jdk_security = \
:jdk_security1 \
:jdk_security2 \
:jdk_security3 \
:jdk_security4
# Tests in this group are manual as they depend on external infra
# and may fail with external reasons, for instance - change in CA test portal.
jdk_security_infra = \
security/infra
jdk_text = \
java/text \
sun/text
jdk_management = \
java/lang/management \
jdk/management \
com/sun/management \
sun/management \
jdk/internal/agent
jdk_instrument = \
java/lang/instrument
jdk_jmx = \
javax/management \
com/sun/jmx
jdk_jdi = \
com/sun/jdi
jdk_native_sanity = \
native_sanity
# java launcher specific tests.
jdk_launcher = \
tools/launcher \
sun/tools
jdk_loom = \
com/sun/management/HotSpotDiagnosticMXBean \
com/sun/management/ThreadMXBean \
jdk/management/VirtualThreadSchedulerMXBean \
java/lang/Thread \
java/lang/ThreadGroup \
java/lang/management/ThreadMXBean \
java/util/concurrent \
java/net/vthread \
java/nio/channels/vthread \
jdk/internal/misc/ThreadFlock \
jdk/internal/vm/Continuation \
jdk/jfr/threading
#
# Tool (and tool API) tests are mostly split into core and svc groups
#
core_tools = \
tools \
-tools/jpackage \
jdk/internal/jrtfs \
sun/tools/jrunscript
svc_tools = \
com/sun/tools/attach \
sun/tools \
-sun/tools/jrunscript \
sun/jvmstat
jdk_tools = \
:core_tools \
:svc_tools \
:jdk_jpackage
jdk_jfr = \
jdk/jfr
jdk_jpackage = \
tools/jpackage
#
# Catch-all for other areas with a small number of tests
#
jdk_other = \
java/sql \
javax/sql \
javax/transaction \
javax/rmi \
javax/naming \
javax/script \
javax/smartcardio \
javax/xml \
-javax/xml/crypto \
jdk/dynalink \
jdk/internal/jline \
com/sun/jndi \
lib/testlibrary
#
# SCTP is its own group as it is highly sensitive to kernel/network config
#
jdk_sctp = \
com/sun/nio/sctp
#
# core group to run all core area tests
#
jdk_core = \
:jdk_lang \
:jdk_util \
:jdk_math \
:jdk_io \
:jdk_nio \
:jdk_net \
:jdk_rmi \
:jdk_time \
:jdk_security \
:jdk_text \
:core_tools \
:jdk_other
#
# svc group to run all serviceability area tests
#
jdk_svc = \
:jdk_management \
:jdk_instrument \
:jdk_jmx \
:jdk_jdi \
:jdk_jfr \
:svc_tools
jdk_foreign = \
java/foreign \
jdk/internal/reflect/CallerSensitive/CheckCSMs.java \
-java/foreign/TestMatrix.java \
-java/foreign/TestUpcallStress.java
jdk_foreign_stress = \
java/foreign/TestMatrix.java \
java/foreign/TestUpcallStress.java
jdk_vector = \
jdk/incubator/vector
jdk_vector_sanity = \
jdk/incubator/vector/PreferredSpeciesTest.java \
jdk/incubator/vector/VectorHash.java \
jdk/incubator/vector/VectorRuns.java
#############################
#
# Client area groups
#
jdk_awt = \
java/awt \
com/apple/eawt \
com/apple/laf \
sun/awt
jdk_2d = \
javax/print \
sun/java2d
jdk_beans = \
java/beans
jdk_swing = \
javax/swing \
com/sun/java/swing
jdk_sound = \
javax/sound
jdk_imageio = \
javax/imageio
jdk_accessibility = \
javax/accessibility
jfc_demo = \
demo/jfc
jdk_editpad = \
jdk/editpad
jdk_desktop = \
:jdk_desktop_part1 \
:jdk_desktop_part2 \
:jdk_desktop_part3
jdk_desktop_part1 = \
:jdk_client_sanity \
:jdk_swing \
:jdk_2d \
:jdk_sound \
:jdk_imageio \
:jdk_editpad \
:jfc_demo \
:jdk_accessibility \
:jdk_beans
jdk_desktop_part2 = \
:jdk_awt \
-java/awt/Component \
-java/awt/Modal \
-java/awt/datatransfer \
-java/awt/Window
jdk_desktop_part3 = \
java/awt/Component \
java/awt/Modal \
java/awt/datatransfer \
java/awt/Window
# SwingSet3 tests.
jdk_client_sanity = \
sanity/client/SwingSet
# This test group represents a subset of tests which are expected to
# exercise most of the most commonly used code in Swing applications.
# New failures in this area may be a problem.
jdk_swing_core = \
:jdk_client_sanity \
javax/swing
# The most commonly used printing APIs are included here along with swing core.
jdk_desktop_core = \
:jdk_swing_core \
java/awt/print
###############################################################################
#
# Serviceability sanity groups
#
# These groups specify a subset of Serviceability tests that are supposed to
# guard against breakage of Serviceability features by other component teams.
jdk_svc_sanity = \
:jdk_management_sanity \
:jdk_instrument_sanity \
:jdk_jmx_sanity \
:jdk_jdi_sanity \
:jdk_jfr_sanity \
:svc_tools_sanity
jdk_management_sanity =
jdk_instrument_sanity =
jdk_jmx_sanity =
jdk_jdi_sanity = \
com/sun/jdi/AcceptTimeout.java \
com/sun/jdi/AccessSpecifierTest.java \
com/sun/jdi/AfterThreadDeathTest.java \
com/sun/jdi/ArrayRangeTest.java \
com/sun/jdi/ConstantPoolInfo.java \
com/sun/jdi/CountFilterTest.java \
com/sun/jdi/EarlyReturnNegativeTest.java \
com/sun/jdi/EarlyReturnTest.java \
com/sun/jdi/FieldWatchpoints.java \
com/sun/jdi/FramesTest.java \
com/sun/jdi/InstanceFilter.java \
com/sun/jdi/InterfaceMethodsTest.java \
com/sun/jdi/InvokeTest.java \
com/sun/jdi/LocalVariableEqual.java \
com/sun/jdi/LocationTest.java \
com/sun/jdi/ModificationWatchpoints.java \
com/sun/jdi/MonitorEventTest.java \
com/sun/jdi/MonitorFrameInfo.java \
com/sun/jdi/NullThreadGroupNameTest.java \
com/sun/jdi/PopAndStepTest.java \
com/sun/jdi/PopAsynchronousTest.java \
com/sun/jdi/ProcessAttachTest.java \
com/sun/jdi/ReferrersTest.java \
com/sun/jdi/RequestReflectionTest.java \
com/sun/jdi/ResumeOneThreadTest.java \
com/sun/jdi/RunToExit.java \
com/sun/jdi/SourceNameFilterTest.java \
com/sun/jdi/SuspendAfterDeath.java \
com/sun/jdi/VarargsTest.java \
com/sun/jdi/Vars.java \
com/sun/jdi/redefineMethod/RedefineTest.java \
com/sun/jdi/sde/MangleTest.java \
com/sun/jdi/sde/TemperatureTableTest.java
jdk_jfr_sanity = \
jdk/jfr/api/recording/event/TestLoadEventAfterStart.java \
jdk/jfr/api/recording/state/TestState.java \
jdk/jfr/event/os/TestCPULoad.java \
jdk/jfr/event/allocation/TestObjectAllocationSampleEvent.java \
jdk/jfr/jcmd/TestJcmdStartStopDefault.java \
jdk/jfr/event/io/TestFileStreamEvents.java \
jdk/jfr/event/compiler/TestCompilerCompile.java \
jdk/jfr/event/gc/collection/TestGCGarbageCollectionEvent.java \
jdk/jfr/event/runtime/TestClassLoadEvent.java \
jdk/jfr/event/runtime/TestJavaBlockedEvent.java \
jdk/jfr/event/gc/collection/TestGCWithFasttime.java \
jdk/jfr/event/gc/configuration/TestGCConfigurationEvent.java \
jdk/jfr/event/metadata/TestDefaultConfigurations.java \
jdk/jfr/startupargs/TestDumpOnExit.java \
jdk/jfr/api/consumer/recordingstream/TestBasics.java
svc_tools_sanity =
#############################
#
# Stable test groups
#
jdk_stable = \
:jdk_core \
:jdk_svc \
:jdk_beans \
:jdk_imageio \
:jdk_sound \
:jdk_sctp \
javax/accessibility \
com/sun/java/swing
needs_g1gc = \
jdk/jfr/event/gc/refstat/TestRefStatEventWithG1ConcurrentMark.java \
jdk/jfr/event/gc/refstat/TestRefStatEventWithG1FullCollection.java \
jdk/jfr/event/gc/refstat/TestRefStatEventWithG1New.java \
jdk/jfr/event/gc/detailed/TestEvacuationFailedEvent.java \
jdk/jfr/event/gc/detailed/TestEvacuationInfoEvent.java \
jdk/jfr/event/gc/detailed/TestG1ConcurrentModeFailureEvent.java \
jdk/jfr/event/gc/collection/TestGCCauseWithG1ConcurrentMark.java \
jdk/jfr/event/gc/collection/TestGCCauseWithG1FullCollection.java \
jdk/jfr/event/gc/collection/TestYoungGarbageCollectionEventWithG1New.java \
jdk/jfr/event/gc/collection/TestGCEventMixedWithG1FullCollection.java \
jdk/jfr/event/gc/collection/TestGCEventMixedWithG1ConcurrentMark.java \
jdk/jfr/event/gc/collection/TestG1ParallelPhases.java \
jdk/jfr/event/gc/objectcount/TestObjectCountAfterGCEventWithG1FullCollection.java \
jdk/jfr/event/gc/objectcount/TestObjectCountAfterGCEventWithG1ConcurrentMark.java \
jdk/jfr/event/gc/heapsummary/TestHeapSummaryEventG1.java
# This set of tests will be executed in an ipv6 only environment
jdk_ipv6_only = \
:jdk_net \
:jdk_nio_networkchannel
jdk_nio_networkchannel = \
java/nio/channels/AsyncCloseAndInterrupt.java \
java/nio/channels/AsynchronousServerSocketChannel \
java/nio/channels/AsynchronousSocketChannel \
java/nio/channels/DatagramChannel \
java/nio/channels/ServerSocketChannel \
java/nio/channels/SocketChannel \
java/nio/channels/Selector \
java/nio/channels/etc
jdk_core_manual = \
:jdk_core_manual_no_input \
:jdk_security_manual_no_input \
:jdk_core_manual_interactive \
:jdk_security_manual_interactive
jdk_core_manual_no_input = \
java/net/HugeDataTransferTest.java \
java/net/httpclient/BodyProcessorInputStreamTest.java \
java/net/httpclient/HttpInputStreamTest.java \
java/util/zip/ZipFile/TestZipFile.java \
javax/net/ssl/compatibility/AlpnTest.java \
javax/net/ssl/compatibility/BasicConnectTest.java \
javax/net/ssl/compatibility/HrrTest.java \
javax/net/ssl/compatibility/SniTest.java \
jdk/nio/zipfs/TestLocOffsetFromZip64EF.java \
jdk/nio/zipfs/LargeCompressedEntrySizeTest.java \
java/util/ArrayList/Bug8146568.java \
java/util/Vector/Bug8148174.java \
com/sun/net/httpserver/simpleserver/CommandLinePortNotSpecifiedTest.java \
com/sun/net/httpserver/simpleserver/jwebserver/CommandLinePortNotSpecifiedTest.java \
javax/xml/jaxp/datatype/8033980/GregorianCalAndDurSerDataUtil.java
jdk_security_manual_no_input = \
:jdk_security_infra \
com/sun/crypto/provider/Cipher/AEAD/GCMIncrementByte4.java \
com/sun/crypto/provider/Cipher/AEAD/GCMIncrementDirect4.java \
sun/security/smartcardio/TestChannel.java \
sun/security/smartcardio/TestConnect.java \
sun/security/smartcardio/TestConnectAgain.java \
sun/security/smartcardio/TestControl.java \
sun/security/smartcardio/TestDefault.java \
sun/security/smartcardio/TestDirect.java \
sun/security/smartcardio/TestExclusive.java \
sun/security/smartcardio/TestMultiplePresent.java \
sun/security/smartcardio/TestPresent.java \
sun/security/smartcardio/TestTransmit.java \
sun/security/tools/jarsigner/compatibility/Compatibility.java \
sun/security/tools/keytool/ListKeyChainStore.java
jdk_core_manual_interactive = \
com/sun/jndi/dns/Test6991580.java \
java/util/TimeZone/DefaultTimeZoneTest.java \
java/nio/MappedByteBuffer/PmemTest.java \
java/rmi/registry/nonLocalRegistry/NonLocalRegistryTest.java \
java/rmi/registry/nonLocalRegistry/NonLocalSkeletonTest.java
jdk_security_manual_interactive = \
sun/security/tools/keytool/i18n.java \
com/sun/security/auth/callback/TextCallbackHandler/Password.java \
sun/security/krb5/config/native/TestDynamicStore.java
# Test sets for running inside container environment
jdk_containers_extended = \
:jdk_io \
:jdk_nio \
:jdk_svc
jdk_core_no_security = \
:jdk_core \
-:jdk_security
# Set of tests for `@since` checks in source code documentation
jdk_since_checks = \
tools/sincechecker/