blob: c680117cc93280c079a6af567fae82c7a47e2545 [file] [log] [blame]
Alan Bateman0e8b1012013-08-21 09:59:12 +01001# Copyright (c) 2013, 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
Mike Duigouc712fac2013-09-13 11:19:13 -070023# java.lang package and VM runtime support
Alan Bateman0e8b1012013-08-21 09:59:12 +010024jdk_lang = \
25 java/lang \
26 -java/lang/management \
27 -java/lang/instrument \
28 sun/invoke \
29 sun/misc \
30 sun/reflect \
Mike Duigou9b5513a2013-09-03 11:29:12 -070031 jdk/lambda \
Alan Bateman0e8b1012013-08-21 09:59:12 +010032 vm
33
Mike Duigouc712fac2013-09-13 11:19:13 -070034# All of the java.util package
Alan Bateman0e8b1012013-08-21 09:59:12 +010035jdk_util = \
Mike Duigouc712fac2013-09-13 11:19:13 -070036 :jdk_util_other \
37 :jdk_collections \
38 :jdk_concurrent \
39 :jdk_stream
40
41# All util components not part of some other util category
42jdk_util_other = \
Alan Bateman0e8b1012013-08-21 09:59:12 +010043 java/util \
Mike Duigouc712fac2013-09-13 11:19:13 -070044 sun/util \
45 -:jdk_collections \
46 -:jdk_concurrent \
47 -:jdk_stream
48
49# java.util.concurrent (JSR-166)
50# Maintained by JSR-166 EG (Doug Lea et al)
51# Deque and PriorityQueue are also generally maintained by JSR-166
52jdk_concurrent = \
53 java/util/concurrent \
54 java/util/Deque \
55 java/util/PriorityQueue
56
57# Java Collections Framework
58jdk_collections = \
59 java/util/AbstractCollection \
60 java/util/AbstractList \
61 java/util/AbstractMap \
62 java/util/AbstractSequentialList \
63 java/util/ArrayList \
64 java/util/Arrays \
65 java/util/BitSet \
66 java/util/Collection \
67 java/util/Collections \
68 java/util/EnumMap \
69 java/util/EnumSet \
70 java/util/Comparator \
71 java/util/Iterator \
72 java/util/HashMap \
73 java/util/Hashtable \
74 java/util/IdentityHashMap \
75 java/util/List \
76 java/util/LinkedHashMap \
77 java/util/LinkedHashSet \
78 java/util/LinkedList \
79 java/util/Map \
80 java/util/NavigableMap \
81 java/util/TimSort \
82 java/util/TreeMap \
83 java/util/Vector \
84 java/util/WeakHashMap
85
86# java.util.stream (JSR-335)
87jdk_stream = \
88 java/util/Optional \
Mike Duigouc712fac2013-09-13 11:19:13 -070089 java/util/function \
90 java/util/stream
Alan Bateman0e8b1012013-08-21 09:59:12 +010091
92jdk_math = \
93 java/math
94
95jdk_io = \
96 java/io
97
98jdk_nio = \
99 java/nio \
100 sun/nio
101
102jdk_net = \
103 java/net \
104 com/sun/net \
105 com/oracle/net \
106 sun/net
107
108jdk_time = \
109 java/time
110
111jdk_rmi = \
112 java/rmi \
113 javax/rmi/ssl \
114 sun/rmi
115
116jdk_security1 = \
117 java/security
118
119jdk_security2 = \
120 javax/crypto \
121 javax/xml/crypto \
122 com/sun/crypto
123
124jdk_security3 = \
125 javax/security \
126 com/sun/security \
127 com/sun/org/apache/xml/internal/security \
Alan Bateman0e8b1012013-08-21 09:59:12 +0100128 sun/security \
129 lib/security
130
131jdk_security = \
132 :jdk_security1 \
133 :jdk_security2 \
134 :jdk_security3
135
136jdk_text = \
137 java/text \
138 sun/text
139
140jdk_management = \
141 java/lang/management \
142 com/sun/management \
143 sun/management
144
145jdk_instrument = \
146 java/lang/instrument
147
148jdk_jmx = \
149 javax/management \
150 com/sun/jmx
151
152jdk_jdi = \
153 com/sun/jdi
154
155#
156# Tool (and tool API) tests are split into core and svc groups
157#
158core_tools = \
159 tools \
160 com/sun/tools/extcheck \
161 sun/tools/java \
162 sun/tools/native2ascii \
163 sun/tools/jrunscript
164
165svc_tools = \
166 com/sun/tools/attach \
167 com/sun/tracing \
168 sun/tools \
169 -sun/tools/java \
170 -sun/tools/native2ascii \
171 -sun/tools/jrunscript \
172 sun/jvmstat \
173 demo/jvmti
174
175jdk_tools = \
176 :core_tools \
177 :svc_tools
178
179#
180# Catch-all for other areas with a small number of tests
181#
182jdk_other = \
183 java/sql \
184 javax/sql \
185 javax/naming \
186 javax/script \
187 javax/smartcardio \
188 javax/xml \
189 -javax/xml/crypto \
190 jdk/asm \
Alan Bateman0e8b1012013-08-21 09:59:12 +0100191 com/sun/jndi \
192 com/sun/corba \
193 lib/testlibrary \
194 demo/zipfs \
195 sample
196
197#
198# SCTP is its own group as it is highly sensitive to kernel/network config
199#
200jdk_sctp = \
201 com/sun/nio/sctp
202
203
204#
205# core group to run all core area tests
206#
207jdk_core = \
208 :jdk_lang \
209 :jdk_util \
210 :jdk_math \
211 :jdk_io \
212 :jdk_nio \
213 :jdk_net \
214 :jdk_rmi \
215 :jdk_time \
216 :jdk_security \
217 :jdk_text \
218 :core_tools \
219 :jdk_other
220
221#
222# svc group to run all serviceability area tests
223#
224jdk_svc = \
225 :jdk_management \
226 :jdk_instrument \
227 :jdk_jmx \
228 :jdk_jdi \
229 :svc_tools
230
231#############################
232
233#
234# Client area groups
235#
236
237jdk_awt = \
238 java/awt \
239 com/sun/awt \
240 com/apple/eawt \
241 sun/awt
242
243jdk_2d = \
244 javax/print \
245 sun/pisces \
246 sun/java2d
247
248jdk_beans = \
249 java/beans
250
251jdk_swing = \
252 javax/accessibility \
253 javax/swing \
254 com/sun/java/swing
255
256jdk_sound = \
257 javax/sound
258
259jdk_imageio = \
260 javax/imageio
261
262jdk_desktop = \
263 :jdk_awt \
264 :jdk_2d \
265 :jdk_beans \
266 :jdk_swing \
267 :jdk_sound \
268 :jdk_imageio
David Holmes7fc1c282013-09-03 23:47:27 -0400269
270###############################################################################
271# Profile-based Test Group Definitions
272#
273# These groups define the tests that cover the different possible runtimes:
274# - compact1, compact2, compact3, full JRE, JDK
275#
276# In addition they support testing of the minimal VM on compact1 and compact2.
277# Essentially this defines groups based around the specified API's and VM
278# services available in the runtime.
279#
280# The groups are defined hierarchically in two forms:
281# - The need_xxx groups list all the tests that have a dependency on
282# a specific profile. This is either because it tests a feature in
283# that profile, or the test infrastructure uses a feature in that
284# profile.
285# - The primary groups are defined in terms of the other primary groups
286# combined with the needs_xxx groups (including and excluding them as
287# appropriate). For example the jre can run all tests from compact3, plus
288# those from needs_jre, but excluding those from need_jdk.
289#
290# The bottom group defines all the actual tests to be considered, simply
291# by listing the top-level test directories.
292
293# Full JDK can run all tests
294#
295jdk = \
296 :jre \
297 :needs_jdk
298
299# Tests that require a full JDK to execute. Either they test a feature
300# only in the JDK or they use tools that are only in the JDK. The latter
301# can be resolved in some cases by using tools from the compile-jdk.
302#
303needs_jdk = \
304 :jdk_jdi \
305 com/sun/tools \
306 demo \
307 sun/security/tools/jarsigner \
308 sun/rmi/rmic \
309 sun/tools \
310 sun/jvmstat \
311 tools \
312 com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java \
313 java/io/Serializable/serialver \
314 java/lang/invoke/lambda/LambdaAccessControlDoPrivilegedTest.java \
315 java/lang/invoke/lambda/LambdaAccessControlTest.java \
316 java/lang/System/MacEncoding/TestFileEncoding.java \
317 java/net/URLClassLoader/closetest/GetResourceAsStream.java \
318 java/util/Collections/EmptyIterator.java \
319 java/util/concurrent/locks/Lock/TimedAcquireLeak.java \
David Holmes7fc1c282013-09-03 23:47:27 -0400320 java/util/jar/JarInputStream/ExtraFileInMetaInf.java \
321 java/util/logging/AnonLoggerWeakRefLeak.sh \
322 java/util/logging/LoggerWeakRefLeak.sh \
323 java/util/zip/3GBZipFiles.sh \
324 jdk/lambda/FDTest.java \
325 jdk/lambda/separate/Compiler.java \
326 sun/management/jdp/JdpTest.sh \
327 sun/management/jmxremote/bootstrap/JvmstatCountersTest.java \
328 sun/management/jmxremote/bootstrap/LocalManagementTest.sh \
329 sun/misc/JarIndex/metaInfFilenames/Basic.java \
330 sun/misc/JarIndex/JarIndexMergeForClassLoaderTest.java \
331 sun/reflect/CallerSensitive/CallerSensitiveFinder.java \
332 sun/reflect/CallerSensitive/MissingCallerSensitive.java \
333 sun/security/util/Resources/NewNamesFormat.java \
334 vm/verifier/defaultMethods/DefaultMethodRegressionTestsRun.java
335
336# JRE adds further tests to compact3
337#
338jre = \
339 :compact3 \
340 :needs_jre \
341 -:needs_jdk
342
343# Tests that require the full JRE
344#
345needs_jre = \
346 :needs_charsets \
347 :jdk_desktop \
348 com/sun/corba \
349 com/sun/jndi/cosnaming \
350 sun/net/ftp \
351 sun/net/www/protocol/ftp \
352 sun/security/tools/policytool \
353 java/net/URI/URItoURLTest.java \
354 java/net/URL/URIToURLTest.java \
355 java/net/URLConnection/HandleContentTypeWithAttrs.java \
356 java/security/Security/ClassLoaderDeadlock/ClassLoaderDeadlock.sh \
357 java/security/Security/ClassLoaderDeadlock/Deadlock.sh \
David Holmes04360f12013-10-15 20:54:00 -0400358 java/util/jar/Manifest/CreateManifest.java \
David Holmes7fc1c282013-09-03 23:47:27 -0400359 java/util/logging/Listeners.java \
360 java/util/logging/ListenersWithSM.java \
Daniel Fuchsc630cf12013-10-15 13:01:28 +0200361 java/util/logging/TestMainAppContext.java \
David Holmes7fc1c282013-09-03 23:47:27 -0400362 java/util/ResourceBundle/Control/Bug6530694.java \
363 java/text/Bidi/BidiConformance.java \
364 java/text/Bidi/BidiEmbeddingTest.java \
365 java/text/Bidi/Bug6665028.java \
366 java/text/Bidi/Bug7042148.java \
367 java/text/Bidi/Bug7051769.java \
368 javax/crypto/Cipher/CipherStreamClose.java \
369 javax/management/monitor/AttributeArbitraryDataTypeTest.java \
370 jdk/lambda/vm/InterfaceAccessFlagsTest.java \
371 sun/misc/URLClassPath/ClassnameCharTest.java
372
373# Tests dependent on the optional charsets.jar
374# These are isolated for easy exclusions
375#
376needs_charsets = \
377 java/io/OutputStreamWriter/TestWrite.java \
378 java/nio/charset/RemovingSunIO/SunioAlias.java \
379 java/nio/charset/coders/Check.java \
380 java/nio/charset/Charset/CharsetContainmentTest.java \
381 java/nio/charset/Charset/Contains.java \
382 java/nio/charset/Charset/NIOCharsetAvailabilityTest.java \
383 java/nio/charset/Charset/RegisteredCharsets.java \
384 java/nio/charset/CharsetEncoder/Flush.java \
385 java/nio/charset/coders/CheckSJISMappingProp.sh \
386 java/nio/charset/coders/ResetISO2022JP.java \
387 java/util/Locale/InternationalBAT.java \
388 java/util/Locale/LocaleProviders.sh \
389 java/util/Calendar/CldrFormatNamesTest.java \
390 java/util/TimeZone/CLDRDisplayNamesTest.java \
391 java/util/zip/ZipCoding.java \
392 sun/nio/cs/EucJpLinux0212.java \
393 sun/nio/cs/EUCJPUnderflowDecodeTest.java \
394 sun/nio/cs/EuroConverter.java \
395 sun/nio/cs/JISAutoDetectTest.java \
396 sun/nio/cs/OLD/TestIBMDB.java \
397 sun/nio/cs/SJISCanEncode.java \
398 sun/nio/cs/Test6254467.java \
399 sun/nio/cs/TestCompoundTest.java \
400 sun/nio/cs/TestCp834_SBCS.java \
401 sun/nio/cs/TestEUC_TW.java \
402 sun/nio/cs/TestISO2022CNDecoder.java \
403 sun/nio/cs/TestISO2022JPEncoder.java \
404 sun/nio/cs/TestISO2022JPSubBytes.java \
405 sun/nio/cs/TestIllegalSJIS.java \
406 sun/nio/cs/TestJIS0208Decoder.java \
407 sun/nio/cs/TestJIS0212Decoder.java \
408 sun/nio/cs/TestMiscEUC_JP.java \
409 sun/nio/cs/TestSJIS0213_SM.java \
410 sun/nio/cs/BufferUnderflowEUCTWTest.java \
411 sun/nio/cs/CheckCaseInsensitiveEncAliases.java \
412 sun/nio/cs/CheckHistoricalNames.java \
413 sun/nio/cs/EucJpLinuxDecoderRecoveryTest.java \
414 sun/nio/cs/HWKatakanaMS932EncodeTest.java \
415 sun/nio/cs/ISCIITest.java \
416 sun/nio/cs/LatinCharReplacementTWTest.java \
417 sun/nio/cs/NIOJISAutoDetectTest.java \
418 sun/nio/cs/StreamEncoderClose.java \
419 sun/nio/cs/SurrogateGB18030Test.java \
420 sun/nio/cs/SurrogateTestEUCTW.java \
421 sun/nio/cs/SurrogateTestHKSCS.java \
422 sun/nio/cs/TestConverterDroppedCharacters.java \
423 sun/nio/cs/TestCp93xSISO.java \
424 sun/nio/cs/TestIBM1364.java \
425 sun/nio/cs/TestIBMBugs.java \
426 sun/nio/cs/TestIllegalISO2022Esc.java \
427 sun/nio/cs/TestISO2022JP.java \
428 sun/nio/cs/TestMS5022X.java \
429 sun/nio/cs/TestSJIS0213.java \
430 sun/nio/cs/TestTrailingEscapesISO2022JP.java \
431 sun/nio/cs/TestUni2HKSCS.java \
432 sun/nio/cs/ZeroedByteArrayEUCTWTest.java
433
434# Compact 3 adds further tests to compact2
435#
436compact3 = \
437 :compact2 \
438 :needs_compact3 \
439 -:needs_jre \
440 -:needs_jdk
441
442
443# Tests that require compact3 API's
444#
445needs_compact3 = \
446 :jdk_instrument \
447 :jdk_jmx \
448 :jdk_management \
449 :jdk_sctp \
450 com/sun/jndi \
451 com/sun/org/apache/xml/internal/security \
452 com/sun/security/auth \
453 com/sun/security/sasl \
454 com/sun/security/jgss \
455 com/sun/tracing \
456 java/util/prefs \
457 javax/naming \
458 javax/security \
459 javax/smartcardio \
460 javax/sql/rowset \
461 javax/xml/crypto \
462 sun/security/acl \
463 sun/security/jgss \
464 sun/security/krb5 \
465 java/lang/System/MacEncoding/TestFileEncoding.java \
466 java/nio/channels/AsynchronousSocketChannel/Leaky.java \
467 java/security/PermissionCollection/Concurrent.java \
468 java/security/Principal/Implies.java \
469 java/security/cert/GetInstance.java \
470 java/util/logging/DrainFindDeadlockTest.java \
471 java/util/logging/LoggingMXBeanTest.java \
472 sun/net/www/http/KeepAliveCache/B5045306.java \
473 sun/security/provider/PolicyFile/Alias.java \
474 sun/security/provider/PolicyFile/Comparator.java \
475 sun/security/provider/PolicyFile/SelfWildcard.java \
476 sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/SSLEngineDeadlock.java \
477 sun/security/util/Oid/OidFormat.java \
478 sun/security/util/Resources/Format.java \
479 sun/security/util/Resources/NewNamesFormat.java
480
481# Compact 2 adds full VM tests
482compact2 = \
483 :compact2_minimal \
484 :compact1 \
485 :needs_full_vm_compact2 \
486 -:needs_compact3 \
487 -:needs_jre \
488 -:needs_jdk
489
490# Tests that require compact2 API's and a full VM
491#
492needs_full_vm_compact2 =
493
494# Minimal VM on Compact 2 adds in some compact2 tests
495#
496compact2_minimal = \
497 :compact1_minimal \
498 :needs_compact2 \
499 -:needs_compact3 \
500 -:needs_jre \
501 -:needs_jdk
502
503# Tests that require compact2 API's
504#
505needs_compact2 = \
506 :jdk_rmi \
507 :jdk_time \
508 com/sun/org/apache \
509 com/sun/net/httpserver \
510 java/sql \
511 javax/sql \
512 javax/xml \
513 jdk/lambda \
514 sun/net/www/http \
515 sun/net/www/protocol/http \
516 java/io/BufferedReader/Lines.java \
517 java/lang/reflect/DefaultStaticTest/DefaultStaticInvokeTest.java \
518 java/lang/CharSequence/DefaultTest.java \
519 java/lang/IntegralPrimitiveToString.java \
520 java/lang/PrimitiveSumMinMaxTest.java \
521 java/lang/String/StringJoinTest.java \
522 java/lang/Thread/StopThrowable.java \
523 java/net/Authenticator/Deadlock.java \
524 java/net/CookieHandler/LocalHostCookie.java \
525 java/net/CookieHandler/CookieManagerTest.java \
526 java/net/CookieHandler/EmptyCookieHeader.java \
527 java/net/HttpCookie/IllegalCookieNameTest.java \
528 java/net/HttpURLConnection/UnmodifiableMaps.java \
David Holmes7fc1c282013-09-03 23:47:27 -0400529 java/net/ResponseCache/Test.java \
530 java/net/URLClassLoader/ClassLoad.java \
531 java/net/URLClassLoader/closetest/CloseTest.java \
David Holmes04360f12013-10-15 20:54:00 -0400532 java/net/URLPermission/URLTest.java \
David Holmes7fc1c282013-09-03 23:47:27 -0400533 java/nio/Buffer/Chars.java \
534 java/nio/file/Files/StreamTest.java \
535 java/security/BasicPermission/Wildcard.java \
536 java/util/Arrays/ParallelPrefix.java \
537 java/util/Arrays/SetAllTest.java \
538 java/util/BitSet/BitSetStreamTest.java \
539 java/util/Collection/CollectionDefaults.java \
David Holmes7fc1c282013-09-03 23:47:27 -0400540 java/util/Collections/CheckedIdentityMap.java \
541 java/util/Collections/CheckedMapBash.java \
542 java/util/Collections/CheckedSetBash.java \
543 java/util/Collections/EmptyCollectionSerialization.java \
544 java/util/Collections/EmptyNavigableMap.java \
545 java/util/Collections/EmptyNavigableSet.java \
546 java/util/Collections/UnmodifiableMapEntrySet.java \
547 java/util/Comparator/BasicTest.java \
548 java/util/Comparator/TypeTest.java \
549 java/util/Iterator/IteratorDefaults.java \
550 java/util/Iterator/PrimitiveIteratorDefaults.java \
David Holmes04360f12013-10-15 20:54:00 -0400551 java/util/List/ListDefaults.java \
David Holmes7fc1c282013-09-03 23:47:27 -0400552 java/util/Map/BasicSerialization.java \
553 java/util/Map/Defaults.java \
554 java/util/Map/EntryComparators.java \
555 java/util/Optional/Basic.java \
556 java/util/Optional/BasicDouble.java \
557 java/util/Optional/BasicInt.java \
558 java/util/Optional/BasicLong.java \
559 java/util/Random/RandomStreamTest.java \
560 java/util/ResourceBundle/Bug6359330.java \
561 java/util/Spliterator/SpliteratorCharacteristics.java \
562 java/util/Spliterator/SpliteratorCollisions.java \
563 java/util/Spliterator/SpliteratorLateBindingFailFastTest.java \
564 java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java \
565 java/util/StringJoiner/MergeTest.java \
566 java/util/StringJoiner/StringJoinerTest.java \
567 java/util/concurrent/atomic/AtomicReferenceTest.java \
568 java/util/function/BinaryOperator/BasicTest.java \
569 java/util/logging/LoggerSupplierAPIsTest.java \
570 java/util/zip/ZipFile/StreamZipEntriesTest.java \
571 java/util/zip/ZipFile/DeleteTempJar.java \
572 javax/crypto/Cipher/CipherStreamClose.java \
573 sun/misc/URLClassPath/ClassnameCharTest.java \
574 sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/HttpsCreateSockTest.java \
575 sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/HttpsSocketFacTest.java
576
577# Compact 1 adds full VM tests
578#
579compact1 = \
580 :compact1_minimal \
581 :needs_full_vm_compact1 \
582 -:needs_compact2 \
583 -:needs_full_vm_compact2 \
584 -:needs_compact3 \
585 -:needs_jre \
586 -:needs_jdk
587
588# Tests that require compact1 API's and a full VM
589#
590needs_full_vm_compact1 =
591
592# All tests that run on the most minimal configuration: Minimal VM on Compact 1
593compact1_minimal = \
594 com \
595 java \
596 javax \
597 jdk \
598 lib \
599 sample \
600 sun \
601 vm \
602 -:needs_full_vm_compact1 \
603 -:needs_full_vm_compact2 \
604 -:needs_compact2 \
605 -:needs_compact3 \
606 -:needs_jre \
607 -:needs_jdk