jprt.properties revision 1828:ca96c0c2104b
1#
2# Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# This code is free software; you can redistribute it and/or modify it
6# under the terms of the GNU General Public License version 2 only, as
7# published by the Free Software Foundation.  Oracle designates this
8# particular file as subject to the "Classpath" exception as provided
9# by Oracle in the LICENSE file that accompanied this code.
10#
11# This code is distributed in the hope that it will be useful, but WITHOUT
12# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14# version 2 for more details (a copy is included in the LICENSE file that
15# accompanied this code).
16#
17# You should have received a copy of the GNU General Public License version
18# 2 along with this work; if not, write to the Free Software Foundation,
19# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20#
21# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22# or visit www.oracle.com if you need additional information or have any
23# questions.
24#
25
26##############
27#
28# Global settings
29#
30
31# Install test bundle for targets in jprt.test.bundle.targets set
32jprt.selective.test.bundle.installation=true
33
34# The current release name
35jprt.tools.default.release=jdk9
36
37# Check if this is the equivalent of a hotspot push job
38# Interpret -testset hotspot to mean exactly that
39my.is.hotspot.job.hotspot=true
40my.is.hotspot.job=${my.is.hotspot.job.${jprt.test.set}}
41
42# Disable syncing the source after builds and tests are done
43jprt.sync.push=${my.is.hotspot.job ? false : true}
44
45# Directories to be excluded from the source bundles
46jprt.bundle.exclude.src.dirs=build dist webrev
47
48# Use configure when building
49jprt.build.use.configure=true
50
51# Set up the run flavors (jvm variants)
52jprt.run.flavors=c1,c2,default,${my.additional.run.flavors}
53
54# Set make target to use for different build flavors
55jprt.build.flavor.debugOpen.target=jprt_bundle
56jprt.build.flavor.fastdebug.target=jprt_bundle
57jprt.build.flavor.product.target=jprt_bundle
58jprt.build.flavor.productOpen.target=jprt_bundle
59jprt.build.flavor.optimized.target=jprt_bundle
60jprt.build.flavor.optimizedOpen.target=jprt_bundle
61
62# Use these configure args to define debug level
63jprt.debug.build.configure.args=--with-debug-level=slowdebug
64jprt.fastdebug.build.configure.args=--with-debug-level=fastdebug --disable-precompiled-headers
65jprt.product.build.configure.args=--with-debug-level=release
66jprt.optimized.build.configure.args=--with-debug-level=optimized
67jprt.debugOpen.build.configure.args=${jprt.debug.build.configure.args} --enable-openjdk-only
68jprt.fastdebugOpen.build.configure.args=${jprt.fastdebug.build.configure.args} --enable-openjdk-only
69jprt.productOpen.build.configure.args=${jprt.product.build.configure.args} --enable-openjdk-only
70jprt.optimizedOpen.build.configure.args=${jprt.product.build.configure.args} --enable-openjdk-only
71
72# Select build flavors and build targets
73jprt.build.flavors=${my.is.hotspot.job ? ${my.build.flavors.hotspot} : ${my.build.flavors.default}}
74jprt.build.targets=${my.is.hotspot.job ? ${my.build.targets.hotspot} : ${my.build.targets.default}}
75
76# Select test targets - jprt default for jprt.test.set is "default"
77jprt.test.targets=${my.test.targets.${jprt.test.set}}
78jprt.make.rule.test.targets=${my.make.rule.test.targets.${jprt.test.set}}
79jprt.test.bundle.targets=${my.jprt.test.bundle.targets.${jprt.test.set}}
80
81# 7155453: Work-around to prevent popups on OSX from blocking test completion
82# but the work-around is added to all platforms to be consistent
83jprt.jbb.options=-Djava.awt.headless=true
84
85########
86#
87# Build options (generic)
88#
89
90# Configure args common to all builds
91# Also allows for additional, testset specific configure arguments to be set
92jprt.build.configure.args=						\
93    --with-output-sync=recurse						\
94    --with-boot-jdk=$ALT_BOOTDIR					\
95    --with-jobs=$ALT_PARALLEL_COMPILE_JOBS				\
96    --with-version-opt=$JPRT_JOB_ID				 	\
97    MAKE=$JPRT_MAKE                                                     \
98    ${my.additional.build.configure.args.${jprt.test.set}}		\
99    ${my.custom.build.configure.args}
100
101# i586 is often cross-compiled from 64-bit machines, so need to set target bits explicitly
102jprt.i586.build.configure.args=						\
103    --with-target-bits=32
104
105# i586 platforms have both client and server, but to allow for overriding the exact configuration
106# on a per-build flavor basis the value is set for the individual build flavors
107my.i586.default.build.configure.args=					\
108    --with-jvm-variants=client,server
109jprt.i586.debug.build.configure.args=					\
110    ${my.i586.default.build.configure.args}				\
111    ${jprt.debug.build.configure.args}
112jprt.i586.fastdebug.build.configure.args=				\
113    ${my.i586.default.build.configure.args}				\
114    ${jprt.fastdebug.build.configure.args}
115jprt.i586.product.build.configure.args=					\
116    ${my.i586.default.build.configure.args}				\
117    ${jprt.product.build.configure.args}
118jprt.i586.debugOpen.build.configure.args=				\
119    ${my.i586.default.build.configure.args}				\
120    ${jprt.debugOpen.build.configure.args}
121jprt.i586.fastdebugOpen.build.configure.args=				\
122    ${my.i586.default.build.configure.args}				\
123    ${jprt.fastdebugOpen.build.configure.args}
124jprt.i586.productOpen.build.configure.args=				\
125    ${my.i586.default.build.configure.args}				\
126    ${jprt.productOpen.build.configure.args}
127jprt.linux_i586.build.configure.args=					\
128    --with-devkit=$GCC492_OEL64_HOME					\
129    ${jprt.i586.build.configure.args}
130jprt.linux_x64.build.configure.args=					\
131    --with-devkit=$GCC492_OEL64_HOME
132jprt.macosx_x64.build.configure.args=					\
133    --with-devkit=$XCODE63_MACOSX109_HOME
134jprt.solaris.build.configure.args=					\
135    --with-devkit=$SS124_11u1_HOME
136jprt.windows_i586.build.configure.args=					\
137    --with-devkit=$VS2013SP4_HOME					\
138    ${jprt.i586.build.configure.args}
139jprt.windows_x64.build.configure.args=					\
140    --with-devkit=$VS2013SP4_HOME
141
142########
143#
144# Build targets and options (default/jdk)
145#
146
147# The default build flavors
148my.build.flavors.default=fastdebug,product
149
150# Standard list of jprt build targets for this source tree
151my.build.targets.default=						\
152    solaris_sparcv9_5.11-{product|fastdebug},				\
153    solaris_x64_5.11-{product|fastdebug},				\
154    linux_i586_2.6-{product|fastdebug},					\
155    linux_x64_2.6-{product|fastdebug},					\
156    macosx_x64_10.9-{product|fastdebug},				\
157    windows_i586_6.2-{product|fastdebug},				\
158    windows_x64_6.2-{product|fastdebug}
159
160# Test target list (no fastdebug & limited c2 testing)
161my.test.target.set=							\
162    solaris_sparcv9_5.11-product-c2-TESTNAME,				\
163    solaris_x64_5.11-product-c2-TESTNAME,				\
164    linux_i586_2.6-product-{c1|c2}-TESTNAME,				\
165    linux_x64_2.6-product-c2-TESTNAME,					\
166    macosx_x64_10.9-product-c2-TESTNAME,				\
167    windows_i586_6.2-product-c1-TESTNAME,				\
168    windows_x64_6.2-product-c2-TESTNAME
169
170# Default vm test targets (testset=default)
171my.test.targets.default=						\
172    ${my.test.target.set:TESTNAME=jvm98},				\
173    ${my.test.target.set:TESTNAME=scimark}
174
175# Default jdk test targets (testset=default)
176my.make.rule.test.targets.default=					\
177    ${my.test.target.set:TESTNAME=langtools_jtreg},			\
178    ${my.test.target.set:TESTNAME=jdk_lang},				\
179    ${my.test.target.set:TESTNAME=jdk_math},				\
180    ${my.test.target.set:TESTNAME=jdk_util}
181
182# Default vm test targets (testset=core)
183my.test.targets.core=
184
185# Core jdk test targets (testset=core)
186my.make.rule.test.targets.core=						\
187    ${my.test.target.set:TESTNAME=jdk_lang},				\
188    ${my.test.target.set:TESTNAME=jdk_math},				\
189    ${my.test.target.set:TESTNAME=jdk_util},				\
190    ${my.test.target.set:TESTNAME=jdk_io},				\
191    ${my.test.target.set:TESTNAME=jdk_net},				\
192    ${my.test.target.set:TESTNAME=jdk_nio},				\
193    ${my.test.target.set:TESTNAME=jdk_security1},			\
194    ${my.test.target.set:TESTNAME=jdk_security2},			\
195    ${my.test.target.set:TESTNAME=jdk_security3},			\
196    ${my.test.target.set:TESTNAME=jdk_security4},			\
197    ${my.test.target.set:TESTNAME=jdk_rmi},				\
198    ${my.test.target.set:TESTNAME=jdk_text},				\
199    ${my.test.target.set:TESTNAME=jdk_time},				\
200    ${my.test.target.set:TESTNAME=jdk_other},				\
201    ${my.test.target.set:TESTNAME=core_tools}
202
203# Svc vm test targets (testset=svc)
204my.test.targets.svc=
205
206# Core jdk test targets (testset=svc)
207my.make.rule.test.targets.svc=						\
208    ${my.test.target.set:TESTNAME=jdk_management},			\
209    ${my.test.target.set:TESTNAME=jdk_instrument},			\
210    ${my.test.target.set:TESTNAME=jdk_jmx},				\
211    ${my.test.target.set:TESTNAME=jdk_jdi},				\
212    ${my.test.target.set:TESTNAME=svc_tools},                           \
213    ${my.make.rule.test.targets.svc.extra}
214
215# JAXP vm test targets (testset=jaxp)
216my.test.targets.jaxp=
217
218# JAXP test targets (testset=jaxp)
219my.make.rule.test.targets.jaxp=						\
220    ${my.test.target.set:TESTNAME=jaxp_all}
221
222# All vm test targets (testset=all)
223my.test.targets.all=							\
224    ${my.test.targets.default},						\
225    ${my.test.target.set:TESTNAME=runThese},				\
226    ${my.test.target.set:TESTNAME=jbb_default}
227
228# All jdk test targets (testset=all)
229my.make.rule.test.targets.all=						\
230    ${my.make.rule.test.targets.core},					\
231    ${my.make.rule.test.targets.svc},					\
232    ${my.test.target.set:TESTNAME=jdk_awt},				\
233    ${my.test.target.set:TESTNAME=jdk_beans},				\
234    ${my.test.target.set:TESTNAME=jdk_sound},				\
235    ${my.test.target.set:TESTNAME=jdk_swing}
236
237# PIT vm test targets (testset=pit)
238my.test.targets.pit=							\
239   ${my.test.targets.all}
240
241# PIT jdk test targets (testset=pit)
242my.make.rule.test.targets.pit=						\
243    ${my.test.target.set:TESTNAME=langtools_jtreg},			\
244    ${my.make.rule.test.targets.core},					\
245    ${my.make.rule.test.targets.svc}                                    \
246    ${my.make.rule.test.targets.jaxp}
247
248# JCK test targets in test/Makefile (no windows)
249my.test.target.set.jck=							\
250    solaris_sparcv9_5.11-product-c2-JCK7TESTRULE,			\
251    solaris_x64_5.11-product-c2-JCK7TESTRULE,				\
252    linux_i586_2.6-product-c1-JCK7TESTRULE,				\
253    linux_x64_2.6-product-c2-JCK7TESTRULE
254
255# JCK testset targets
256my.make.rule.test.targets.jck=						\
257    ${my.test.target.set.jck:JCK7TESTRULE=jck7devtools},		\
258    ${my.test.target.set.jck:JCK7TESTRULE=jck7runtime},			\
259    ${my.test.target.set.jck:JCK7TESTRULE=jck7compiler}
260
261
262#############
263#
264# Hotspot related settings (testset=hotspot)
265#
266
267# The hotspot build flavors
268my.build.flavors.hotspot=						\
269    debugOpen,fastdebug,product,productOpen,optimized,optimizedOpen \
270    ${my.additional.build.flavors.hotspot}
271
272# Platforms built for hotspot push jobs
273my.build.targets.hotspot=						\
274    solaris_sparcv9_5.11-{product|fastdebug},			\
275    solaris_x64_5.11-{product|fastdebug},				\
276    linux_i586_2.6-{product|fastdebug},					\
277    linux_x64_2.6-{product|fastdebug},			\
278    macosx_x64_10.9-{product|fastdebug},				\
279    windows_i586_6.2-{product|fastdebug},				\
280    windows_x64_6.2-{product|fastdebug},			\
281    solaris_x64_5.11-{debugOpen},					\
282    linux_x64_2.6-{productOpen},					\
283    ${my.additional.build.targets.hotspot}
284
285# Tests to run on the various platforms for hotspot push jobs
286my.test.targets.hotspot.solaris.sparcv9=				\
287    solaris_sparcv9_5.11-{product|fastdebug}-c2-jvm98,			\
288    solaris_sparcv9_5.11-{product|fastdebug}-c2-jvm98_nontiered,	\
289    solaris_sparcv9_5.11-{product|fastdebug}-c2-scimark,		\
290    solaris_sparcv9_5.11-product-c2-runThese8,				\
291    solaris_sparcv9_5.11-{product|fastdebug}-c2-GCBasher_SerialGC,	\
292    solaris_sparcv9_5.11-{product|fastdebug}-c2-GCBasher_ParallelGC,	\
293    solaris_sparcv9_5.11-{product|fastdebug}-c2-GCBasher_CMS,		\
294    solaris_sparcv9_5.11-{product|fastdebug}-c2-GCBasher_G1
295
296my.test.targets.hotspot.solaris.x64=					\
297    solaris_x64_5.11-{product|fastdebug}-c2-jvm98,			\
298    solaris_x64_5.11-{product|fastdebug}-c2-jvm98_nontiered,		\
299    solaris_x64_5.11-{product|fastdebug}-c2-scimark,			\
300    solaris_x64_5.11-product-c2-runThese8,				\
301    solaris_x64_5.11-product-c2-runThese8_Xcomp_lang,			\
302    solaris_x64_5.11-product-c2-runThese8_Xcomp_vm,			\
303    solaris_x64_5.11-{product|fastdebug}-c2-GCBasher_SerialGC,		\
304    solaris_x64_5.11-{product|fastdebug}-c2-GCBasher_ParallelGC,	\
305    solaris_x64_5.11-{product|fastdebug}-c2-GCBasher_CMS,		\
306    solaris_x64_5.11-{product|fastdebug}-c2-GCBasher_G1
307
308my.test.targets.hotspot.linux.i586=					\
309    linux_i586_2.6-{product|fastdebug}-{c1|c2}-jvm98,			\
310    linux_i586_2.6-{product|fastdebug}-c2-jvm98_nontiered,		\
311    linux_i586_2.6-{product|fastdebug}-{c1|c2}-scimark,			\
312    linux_i586_2.6-product-c1-runThese8_Xcomp_lang,			\
313    linux_i586_2.6-product-c1-runThese8_Xcomp_vm,			\
314    linux_i586_2.6-fastdebug-c1-runThese8_Xshare,			\
315    linux_i586_2.6-fastdebug-c2-runThese8_Xcomp_lang,			\
316    linux_i586_2.6-fastdebug-c2-runThese8_Xcomp_vm,			\
317    linux_i586_2.6-{product|fastdebug}-{c1|c2}-GCBasher_SerialGC,	\
318    linux_i586_2.6-{product|fastdebug}-{c1|c2}-GCBasher_ParallelGC,	\
319    linux_i586_2.6-{product|fastdebug}-{c1|c2}-GCBasher_CMS,		\
320    linux_i586_2.6-{product|fastdebug}-{c1|c2}-GCBasher_G1
321
322my.test.targets.hotspot.linux.x64=					\
323    linux_x64_2.6-{product|fastdebug}-c2-jvm98,				\
324    linux_x64_2.6-{product|fastdebug}-c2-jvm98_nontiered,		\
325    linux_x64_2.6-{product|fastdebug}-c2-scimark,			\
326    linux_x64_2.6-{product|fastdebug}-c2-GCBasher_SerialGC,		\
327    linux_x64_2.6-{product|fastdebug}-c2-GCBasher_ParallelGC,		\
328    linux_x64_2.6-{product|fastdebug}-c2-GCBasher_CMS,			\
329    linux_x64_2.6-{product|fastdebug}-c2-GCBasher_G1
330
331my.test.targets.hotspot.macosx.x64=					\
332    macosx_x64_10.9-{product|fastdebug}-c2-jvm98,			\
333    macosx_x64_10.9-{product|fastdebug}-c2-jvm98_nontiered,		\
334    macosx_x64_10.9-{product|fastdebug}-c2-scimark,			\
335    macosx_x64_10.9-{product|fastdebug}-c2-GCBasher_SerialGC,		\
336    macosx_x64_10.9-{product|fastdebug}-c2-GCBasher_ParallelGC,		\
337    macosx_x64_10.9-{product|fastdebug}-c2-GCBasher_CMS,		\
338    macosx_x64_10.9-{product|fastdebug}-c2-GCBasher_G1
339
340my.test.targets.hotspot.windows.i586=					\
341    windows_i586_6.2-{product|fastdebug}-{c1|c2}-jvm98,			\
342    windows_i586_6.2-{product|fastdebug}-c2-jvm98_nontiered,		\
343    windows_i586_6.2-{product|fastdebug}-{c1|c2}-scimark,		\
344    windows_i586_6.2-product-{c1|c2}-runThese8,				\
345    windows_i586_6.2-product-{c1|c2}-runThese8_Xcomp_lang,		\
346    windows_i586_6.2-product-{c1|c2}-runThese8_Xcomp_vm,		\
347    windows_i586_6.2-fastdebug-c1-runThese8_Xshare,			\
348    windows_i586_6.2-{product|fastdebug}-{c1|c2}-GCBasher_SerialGC,	\
349    windows_i586_6.2-{product|fastdebug}-{c1|c2}-GCBasher_ParallelGC,	\
350    windows_i586_6.2-{product|fastdebug}-{c1|c2}-GCBasher_CMS,		\
351    windows_i586_6.2-{product|fastdebug}-{c1|c2}-GCBasher_G1
352
353my.test.targets.hotspot.windows.x64=					\
354    windows_x64_6.2-{product|fastdebug}-c2-jvm98,			\
355    windows_x64_6.2-{product|fastdebug}-c2-jvm98_nontiered,		\
356    windows_x64_6.2-{product|fastdebug}-c2-scimark,			\
357    windows_x64_6.2-product-c2-runThese8,				\
358    windows_x64_6.2-product-c2-runThese8_Xcomp_lang,			\
359    windows_x64_6.2-product-c2-runThese8_Xcomp_vm,			\
360    windows_x64_6.2-{product|fastdebug}-c2-GCBasher_SerialGC,		\
361    windows_x64_6.2-{product|fastdebug}-c2-GCBasher_ParallelGC,		\
362    windows_x64_6.2-{product|fastdebug}-c2-GCBasher_CMS,		\
363    windows_x64_6.2-{product|fastdebug}-c2-GCBasher_G1
364
365# Some basic "smoke" tests for OpenJDK builds
366my.test.targets.hotspot.open=						\
367    solaris_x64_5.11-{productOpen|fastdebugOpen}-c2-jvm98,		\
368    linux_x64_2.6-{productOpen|fastdebugOpen}-c2-jvm98
369
370# The complete list of test targets for jprt
371my.test.targets.hotspot=						\
372  ${my.test.targets.hotspot.open},					\
373  ${my.test.targets.hotspot.solaris.sparcv9},				\
374  ${my.test.targets.hotspot.solaris.x64},				\
375  ${my.test.targets.hotspot.linux.i586},				\
376  ${my.test.targets.hotspot.linux.x64},					\
377  ${my.test.targets.hotspot.macosx.x64},				\
378  ${my.test.targets.hotspot.windows.i586},				\
379  ${my.test.targets.hotspot.windows.x64},				\
380  ${my.test.targets.hotspot.solaris.sparcv9},				\
381  ${my.test.targets.hotspot.solaris.x64},				\
382  ${my.test.targets.hotspot.linux.x64},					\
383  ${my.test.targets.hotspot.windows.i586},				\
384  ${my.test.targets.hotspot.windows.x64},				\
385  ${my.additional.test.targets.hotspot}
386
387
388# Make file based test targets
389
390my.make.rule.test.targets.hotspot.basicvmtests=                         \
391  linux_i586_2.6-*-default-hotspot_basicvmtest,                         \
392  linux_x64_2.6-*-default-hotspot_basicvmtest,                          \
393  macosx_x64_10.9-*-default-hotspot_basicvmtest,                        \
394  solaris_sparcv9_5.11-*-default-hotspot_basicvmtest,                   \
395  solaris_x64_5.11-*-default-hotspot_basicvmtest,                       \
396  windows_i586_6.2-*-default-hotspot_basicvmtest,                       \
397  windows_x64_6.2-*-default-hotspot_basicvmtest
398  
399my.make.rule.test.targets.hotspot.reg.group=				\
400  solaris_sparcv9_5.11-fastdebug-c2-GROUP,				\
401  solaris_x64_5.11-fastdebug-c2-GROUP,					\
402  linux_i586_2.6-fastdebug-c2-GROUP,					\
403  linux_x64_2.6-fastdebug-c2-GROUP,					\
404  macosx_x64_10.9-fastdebug-c2-GROUP,					\
405  windows_i586_6.2-fastdebug-c2-GROUP,					\
406  windows_x64_6.2-fastdebug-c2-GROUP,					\
407  linux_i586_2.6-fastdebug-c1-GROUP,					\
408  windows_i586_6.2-fastdebug-c1-GROUP
409
410# Hotspot jtreg tests
411my.make.rule.test.targets.hotspot.reg=						\
412  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_compiler_1},	\
413  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_compiler_2},	\
414  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_compiler_3},	\
415  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_compiler_closed},	\
416  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_gc},		\
417  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_gc_closed},       \
418  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_gc_gcold},        \
419  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_runtime},		\
420  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_serviceability},	\
421  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=jdk_svc_sanity},		\
422  ${my.additional.make.rule.test.targets.hotspot.reg}
423
424# Other Makefile based Hotspot tests
425my.make.rule.test.targets.hotspot.other=                                \
426  ${my.make.rule.test.targets.hotspot.basicvmtests},                    \
427  ${my.additional.make.rule.test.targets.hotspot.other}
428
429# All the makefile based tests to run
430my.make.rule.test.targets.hotspot=                                      \
431  ${my.make.rule.test.targets.hotspot.reg}                              \
432  ${my.make.rule.test.targets.hotspot.other}
433
434# Install the test bundle for the testset hotspot jtreg tests
435# (but not for the other Makefile based tests)
436my.jprt.test.bundle.targets.hotspot=${my.make.rule.test.targets.hotspot.reg}
437
438# Native jdk and hotspot test targets (testset=nativesanity)
439my.make.rule.test.targets.nativesanity=					\
440    ${my.test.target.set:TESTNAME=jdk_native_sanity},			\
441    ${my.test.target.set:TESTNAME=hotspot_native_sanity}
442
443# Install the test bundle for the nativesanity jtreg tests
444my.jprt.test.bundle.targets.nativesanity=${my.make.rule.test.targets.nativesanity}
445