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