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