jprt.properties revision 1765:eabe2c23d792
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-base=$JPRT_JOB_ID				\
97    ${my.additional.build.configure.args.${jprt.test.set}}		\
98    ${my.custom.build.configure.args}
99
100# i586 is often cross-compiled from 64-bit machines, so need to set target bits explicitly
101jprt.i586.build.configure.args=						\
102    --with-target-bits=32
103
104# i586 platforms have both client and server, but to allow for overriding the exact configuration
105# on a per-build flavor basis the value is set for the individual build flavors
106my.i586.default.build.configure.args=					\
107    --with-jvm-variants=client,server
108jprt.i586.debug.build.configure.args=					\
109    ${my.i586.default.build.configure.args}				\
110    ${jprt.debug.build.configure.args}
111jprt.i586.fastdebug.build.configure.args=				\
112    ${my.i586.default.build.configure.args}				\
113    ${jprt.fastdebug.build.configure.args}
114jprt.i586.product.build.configure.args=					\
115    ${my.i586.default.build.configure.args}				\
116    ${jprt.product.build.configure.args}
117jprt.i586.debugOpen.build.configure.args=				\
118    ${my.i586.default.build.configure.args}				\
119    ${jprt.debugOpen.build.configure.args}
120jprt.i586.fastdebugOpen.build.configure.args=				\
121    ${my.i586.default.build.configure.args}				\
122    ${jprt.fastdebugOpen.build.configure.args}
123jprt.i586.productOpen.build.configure.args=				\
124    ${my.i586.default.build.configure.args}				\
125    ${jprt.productOpen.build.configure.args}
126jprt.windows_i586.build.configure.args=					\
127    --with-devkit=$VS2013_HOME						\
128    ${jprt.i586.build.configure.args}
129jprt.windows_x64.build.configure.args=					\
130    --with-devkit=$VS2013_HOME
131
132########
133#
134# Build targets and options (default/jdk)
135#
136
137# The default build flavors
138my.build.flavors.default=fastdebug,product
139
140# Standard list of jprt build targets for this source tree
141my.build.targets.default=						\
142    solaris_sparcv9_5.11-{product|fastdebug},				\
143    solaris_x64_5.11-{product|fastdebug},				\
144    linux_i586_2.6-{product|fastdebug},					\
145    linux_x64_2.6-{product|fastdebug},					\
146    macosx_x64_10.9-{product|fastdebug},				\
147    windows_i586_6.2-{product|fastdebug},				\
148    windows_x64_6.2-{product|fastdebug}
149
150# Test target list (no fastdebug & limited c2 testing)
151my.test.target.set=							\
152    solaris_sparcv9_5.11-product-c2-TESTNAME,				\
153    solaris_x64_5.11-product-c2-TESTNAME,				\
154    linux_i586_2.6-product-{c1|c2}-TESTNAME,				\
155    linux_x64_2.6-product-c2-TESTNAME,					\
156    macosx_x64_10.9-product-c2-TESTNAME,				\
157    windows_i586_6.2-product-c1-TESTNAME,				\
158    windows_x64_6.2-product-c2-TESTNAME
159
160# Default vm test targets (testset=default)
161my.test.targets.default=						\
162    ${my.test.target.set:TESTNAME=jvm98},				\
163    ${my.test.target.set:TESTNAME=scimark}
164
165# Default jdk test targets (testset=default)
166my.make.rule.test.targets.default=					\
167    ${my.test.target.set:TESTNAME=langtools_jtreg},			\
168    ${my.test.target.set:TESTNAME=jdk_lang},				\
169    ${my.test.target.set:TESTNAME=jdk_math},				\
170    ${my.test.target.set:TESTNAME=jdk_util}
171
172# Default vm test targets (testset=core)
173my.test.targets.core=
174
175# Core jdk test targets (testset=core)
176my.make.rule.test.targets.core=						\
177    ${my.test.target.set:TESTNAME=jdk_lang},				\
178    ${my.test.target.set:TESTNAME=jdk_math},				\
179    ${my.test.target.set:TESTNAME=jdk_util},				\
180    ${my.test.target.set:TESTNAME=jdk_io},				\
181    ${my.test.target.set:TESTNAME=jdk_net},				\
182    ${my.test.target.set:TESTNAME=jdk_nio},				\
183    ${my.test.target.set:TESTNAME=jdk_security1},			\
184    ${my.test.target.set:TESTNAME=jdk_security2},			\
185    ${my.test.target.set:TESTNAME=jdk_security3},			\
186    ${my.test.target.set:TESTNAME=jdk_security4},			\
187    ${my.test.target.set:TESTNAME=jdk_rmi},				\
188    ${my.test.target.set:TESTNAME=jdk_text},				\
189    ${my.test.target.set:TESTNAME=jdk_time},				\
190    ${my.test.target.set:TESTNAME=jdk_other},				\
191    ${my.test.target.set:TESTNAME=core_tools}
192
193# Svc vm test targets (testset=svc)
194my.test.targets.svc=
195
196# Core jdk test targets (testset=svc)
197my.make.rule.test.targets.svc=						\
198    ${my.test.target.set:TESTNAME=jdk_management},			\
199    ${my.test.target.set:TESTNAME=jdk_instrument},			\
200    ${my.test.target.set:TESTNAME=jdk_jmx},				\
201    ${my.test.target.set:TESTNAME=jdk_jdi},				\
202    ${my.test.target.set:TESTNAME=svc_tools},                           \
203    ${my.make.rule.test.targets.svc.extra}
204
205# JAXP vm test targets (testset=jaxp)
206my.test.targets.jaxp=
207
208# JAXP test targets (testset=jaxp)
209my.make.rule.test.targets.jaxp=						\
210    ${my.test.target.set:TESTNAME=jaxp_all}
211
212# All vm test targets (testset=all)
213my.test.targets.all=							\
214    ${my.test.targets.default},						\
215    ${my.test.target.set:TESTNAME=runThese},				\
216    ${my.test.target.set:TESTNAME=jbb_default}
217
218# All jdk test targets (testset=all)
219my.make.rule.test.targets.all=						\
220    ${my.make.rule.test.targets.core},					\
221    ${my.make.rule.test.targets.svc},					\
222    ${my.test.target.set:TESTNAME=jdk_awt},				\
223    ${my.test.target.set:TESTNAME=jdk_beans},				\
224    ${my.test.target.set:TESTNAME=jdk_sound},				\
225    ${my.test.target.set:TESTNAME=jdk_swing}
226
227# PIT vm test targets (testset=pit)
228my.test.targets.pit=							\
229   ${my.test.targets.all}
230
231# PIT jdk test targets (testset=pit)
232my.make.rule.test.targets.pit=						\
233    ${my.test.target.set:TESTNAME=langtools_jtreg},			\
234    ${my.make.rule.test.targets.core},					\
235    ${my.make.rule.test.targets.svc}                                    \
236    ${my.make.rule.test.targets.jaxp}
237
238# JCK test targets in test/Makefile (no windows)
239my.test.target.set.jck=							\
240    solaris_sparcv9_5.11-product-c2-JCK7TESTRULE,			\
241    solaris_x64_5.11-product-c2-JCK7TESTRULE,				\
242    linux_i586_2.6-product-c1-JCK7TESTRULE,				\
243    linux_x64_2.6-product-c2-JCK7TESTRULE
244
245# JCK testset targets
246my.make.rule.test.targets.jck=						\
247    ${my.test.target.set.jck:JCK7TESTRULE=jck7devtools},		\
248    ${my.test.target.set.jck:JCK7TESTRULE=jck7runtime},			\
249    ${my.test.target.set.jck:JCK7TESTRULE=jck7compiler}
250
251
252#############
253#
254# Hotspot related settings (testset=hotspot)
255#
256
257# The hotspot build flavors
258my.build.flavors.hotspot=						\
259    debugOpen,fastdebug,product,productOpen,optimized,optimizedOpen \
260    ${my.additional.build.flavors.hotspot}
261
262# Platforms built for hotspot push jobs
263my.build.targets.hotspot=						\
264    solaris_sparcv9_5.11-{product|fastdebug},			\
265    solaris_x64_5.11-{product|fastdebug},				\
266    linux_i586_2.6-{product|fastdebug},					\
267    linux_x64_2.6-{product|fastdebug},			\
268    macosx_x64_10.9-{product|fastdebug},				\
269    windows_i586_6.2-{product|fastdebug},				\
270    windows_x64_6.2-{product|fastdebug},			\
271    solaris_x64_5.11-{debugOpen},					\
272    linux_x64_2.6-{productOpen},					\
273    ${my.additional.build.targets.hotspot}
274
275# Tests to run on the various platforms for hotspot push jobs
276my.test.targets.hotspot.solaris.sparcv9=				\
277    solaris_sparcv9_5.11-{product|fastdebug}-c2-jvm98,			\
278    solaris_sparcv9_5.11-{product|fastdebug}-c2-jvm98_nontiered,	\
279    solaris_sparcv9_5.11-{product|fastdebug}-c2-scimark,		\
280    solaris_sparcv9_5.11-product-c2-runThese8,				\
281    solaris_sparcv9_5.11-{product|fastdebug}-c2-GCBasher_SerialGC,	\
282    solaris_sparcv9_5.11-{product|fastdebug}-c2-GCBasher_ParallelGC,	\
283    solaris_sparcv9_5.11-{product|fastdebug}-c2-GCBasher_CMS,		\
284    solaris_sparcv9_5.11-{product|fastdebug}-c2-GCBasher_G1
285
286my.test.targets.hotspot.solaris.x64=					\
287    solaris_x64_5.11-{product|fastdebug}-c2-jvm98,			\
288    solaris_x64_5.11-{product|fastdebug}-c2-jvm98_nontiered,		\
289    solaris_x64_5.11-{product|fastdebug}-c2-scimark,			\
290    solaris_x64_5.11-product-c2-runThese8,				\
291    solaris_x64_5.11-product-c2-runThese8_Xcomp_lang,			\
292    solaris_x64_5.11-product-c2-runThese8_Xcomp_vm,			\
293    solaris_x64_5.11-{product|fastdebug}-c2-GCBasher_SerialGC,		\
294    solaris_x64_5.11-{product|fastdebug}-c2-GCBasher_ParallelGC,	\
295    solaris_x64_5.11-{product|fastdebug}-c2-GCBasher_CMS,		\
296    solaris_x64_5.11-{product|fastdebug}-c2-GCBasher_G1
297
298my.test.targets.hotspot.linux.i586=					\
299    linux_i586_2.6-{product|fastdebug}-{c1|c2}-jvm98,			\
300    linux_i586_2.6-{product|fastdebug}-c2-jvm98_nontiered,		\
301    linux_i586_2.6-{product|fastdebug}-{c1|c2}-scimark,			\
302    linux_i586_2.6-product-c1-runThese8_Xcomp_lang,			\
303    linux_i586_2.6-product-c1-runThese8_Xcomp_vm,			\
304    linux_i586_2.6-fastdebug-c1-runThese8_Xshare,			\
305    linux_i586_2.6-fastdebug-c2-runThese8_Xcomp_lang,			\
306    linux_i586_2.6-fastdebug-c2-runThese8_Xcomp_vm,			\
307    linux_i586_2.6-{product|fastdebug}-{c1|c2}-GCBasher_SerialGC,	\
308    linux_i586_2.6-{product|fastdebug}-{c1|c2}-GCBasher_ParallelGC,	\
309    linux_i586_2.6-{product|fastdebug}-{c1|c2}-GCBasher_CMS,		\
310    linux_i586_2.6-{product|fastdebug}-{c1|c2}-GCBasher_G1
311
312my.test.targets.hotspot.linux.x64=					\
313    linux_x64_2.6-{product|fastdebug}-c2-jvm98,				\
314    linux_x64_2.6-{product|fastdebug}-c2-jvm98_nontiered,		\
315    linux_x64_2.6-{product|fastdebug}-c2-scimark,			\
316    linux_x64_2.6-{product|fastdebug}-c2-GCBasher_SerialGC,		\
317    linux_x64_2.6-{product|fastdebug}-c2-GCBasher_ParallelGC,		\
318    linux_x64_2.6-{product|fastdebug}-c2-GCBasher_CMS,			\
319    linux_x64_2.6-{product|fastdebug}-c2-GCBasher_G1
320
321my.test.targets.hotspot.macosx.x64=					\
322    macosx_x64_10.9-{product|fastdebug}-c2-jvm98,			\
323    macosx_x64_10.9-{product|fastdebug}-c2-jvm98_nontiered,		\
324    macosx_x64_10.9-{product|fastdebug}-c2-scimark,			\
325    macosx_x64_10.9-{product|fastdebug}-c2-GCBasher_SerialGC,		\
326    macosx_x64_10.9-{product|fastdebug}-c2-GCBasher_ParallelGC,		\
327    macosx_x64_10.9-{product|fastdebug}-c2-GCBasher_CMS,		\
328    macosx_x64_10.9-{product|fastdebug}-c2-GCBasher_G1
329
330my.test.targets.hotspot.windows.i586=					\
331    windows_i586_6.2-{product|fastdebug}-{c1|c2}-jvm98,			\
332    windows_i586_6.2-{product|fastdebug}-c2-jvm98_nontiered,		\
333    windows_i586_6.2-{product|fastdebug}-{c1|c2}-scimark,		\
334    windows_i586_6.2-product-{c1|c2}-runThese8,				\
335    windows_i586_6.2-product-{c1|c2}-runThese8_Xcomp_lang,		\
336    windows_i586_6.2-product-{c1|c2}-runThese8_Xcomp_vm,		\
337    windows_i586_6.2-fastdebug-c1-runThese8_Xshare,			\
338    windows_i586_6.2-{product|fastdebug}-{c1|c2}-GCBasher_SerialGC,	\
339    windows_i586_6.2-{product|fastdebug}-{c1|c2}-GCBasher_ParallelGC,	\
340    windows_i586_6.2-{product|fastdebug}-{c1|c2}-GCBasher_CMS,		\
341    windows_i586_6.2-{product|fastdebug}-{c1|c2}-GCBasher_G1
342
343my.test.targets.hotspot.windows.x64=					\
344    windows_x64_6.2-{product|fastdebug}-c2-jvm98,			\
345    windows_x64_6.2-{product|fastdebug}-c2-jvm98_nontiered,		\
346    windows_x64_6.2-{product|fastdebug}-c2-scimark,			\
347    windows_x64_6.2-product-c2-runThese8,				\
348    windows_x64_6.2-product-c2-runThese8_Xcomp_lang,			\
349    windows_x64_6.2-product-c2-runThese8_Xcomp_vm,			\
350    windows_x64_6.2-{product|fastdebug}-c2-GCBasher_SerialGC,		\
351    windows_x64_6.2-{product|fastdebug}-c2-GCBasher_ParallelGC,		\
352    windows_x64_6.2-{product|fastdebug}-c2-GCBasher_CMS,		\
353    windows_x64_6.2-{product|fastdebug}-c2-GCBasher_G1
354
355# Some basic "smoke" tests for OpenJDK builds
356my.test.targets.hotspot.open=						\
357    solaris_x64_5.11-{productOpen|fastdebugOpen}-c2-jvm98,		\
358    linux_x64_2.6-{productOpen|fastdebugOpen}-c2-jvm98
359
360# The complete list of test targets for jprt
361my.test.targets.hotspot=						\
362  ${my.test.targets.hotspot.open},					\
363  ${my.test.targets.hotspot.solaris.sparcv9},				\
364  ${my.test.targets.hotspot.solaris.x64},				\
365  ${my.test.targets.hotspot.linux.i586},				\
366  ${my.test.targets.hotspot.linux.x64},					\
367  ${my.test.targets.hotspot.macosx.x64},				\
368  ${my.test.targets.hotspot.windows.i586},				\
369  ${my.test.targets.hotspot.windows.x64},				\
370  ${my.test.targets.hotspot.solaris.sparcv9},				\
371  ${my.test.targets.hotspot.solaris.x64},				\
372  ${my.test.targets.hotspot.linux.x64},					\
373  ${my.test.targets.hotspot.windows.i586},				\
374  ${my.test.targets.hotspot.windows.x64},				\
375  ${my.additional.test.targets.hotspot}
376
377
378# Make file based test targets
379
380my.make.rule.test.targets.hotspot.basicvmtests=                         \
381  linux_i586_2.6-*-default-hotspot_basicvmtest,                         \
382  linux_x64_2.6-*-default-hotspot_basicvmtest,                          \
383  macosx_x64_10.9-*-default-hotspot_basicvmtest,                        \
384  solaris_sparcv9_5.11-*-default-hotspot_basicvmtest,                   \
385  solaris_x64_5.11-*-default-hotspot_basicvmtest,                       \
386  windows_i586_6.2-*-default-hotspot_basicvmtest,                       \
387  windows_x64_6.2-*-default-hotspot_basicvmtest
388  
389my.make.rule.test.targets.hotspot.reg.group=				\
390  solaris_sparcv9_5.11-fastdebug-c2-GROUP,				\
391  solaris_x64_5.11-fastdebug-c2-GROUP,					\
392  linux_i586_2.6-fastdebug-c2-GROUP,					\
393  linux_x64_2.6-fastdebug-c2-GROUP,					\
394  macosx_x64_10.9-fastdebug-c2-GROUP,					\
395  windows_i586_6.2-fastdebug-c2-GROUP,					\
396  windows_x64_6.2-fastdebug-c2-GROUP,					\
397  linux_i586_2.6-fastdebug-c1-GROUP,					\
398  windows_i586_6.2-fastdebug-c1-GROUP
399
400# Hotspot jtreg tests
401my.make.rule.test.targets.hotspot.reg=						\
402  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_compiler_1},	\
403  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_compiler_2},	\
404  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_compiler_3},	\
405  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_compiler_closed},	\
406  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_gc},		\
407  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_gc_closed},       \
408  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_gc_gcold},        \
409  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_runtime},		\
410  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_serviceability},	\
411  ${my.make.rule.test.targets.hotspot.reg.group:GROUP=jdk_svc_sanity},		\
412  ${my.additional.make.rule.test.targets.hotspot.reg}
413
414# Other Makefile based Hotspot tests
415my.make.rule.test.targets.hotspot.other=                                \
416  ${my.make.rule.test.targets.hotspot.basicvmtests},                    \
417  ${my.additional.make.rule.test.targets.hotspot.other}
418
419# All the makefile based tests to run
420my.make.rule.test.targets.hotspot=                                      \
421  ${my.make.rule.test.targets.hotspot.reg}                              \
422  ${my.make.rule.test.targets.hotspot.other}
423
424# Install the test bundle for the testset hotspot jtreg tests
425# (but not for the other Makefile based tests)
426my.jprt.test.bundle.targets.hotspot=${my.make.rule.test.targets.hotspot.reg}
427
428# Native jdk and hotspot test targets (testset=nativesanity)
429my.make.rule.test.targets.nativesanity=					\
430    ${my.test.target.set:TESTNAME=jdk_native_sanity},			\
431    ${my.test.target.set:TESTNAME=hotspot_native_sanity}
432
433# Install the test bundle for the nativesanity jtreg tests
434my.jprt.test.bundle.targets.nativesanity=${my.make.rule.test.targets.nativesanity}
435