jprt.properties revision 1066:ac90e5f3535b
1219019Sgabor#
2219019Sgabor# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
3219019Sgabor# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4219019Sgabor#
5219019Sgabor# This code is free software; you can redistribute it and/or modify it
6219019Sgabor# under the terms of the GNU General Public License version 2 only, as
7219019Sgabor# published by the Free Software Foundation.  Oracle designates this
8219019Sgabor# particular file as subject to the "Classpath" exception as provided
9219019Sgabor# by Oracle in the LICENSE file that accompanied this code.
10219019Sgabor#
11219019Sgabor# This code is distributed in the hope that it will be useful, but WITHOUT
12219019Sgabor# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13219019Sgabor# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14219019Sgabor# version 2 for more details (a copy is included in the LICENSE file that
15219019Sgabor# accompanied this code).
16219019Sgabor#
17219019Sgabor# You should have received a copy of the GNU General Public License version
18219019Sgabor# 2 along with this work; if not, write to the Free Software Foundation,
19219019Sgabor# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20219019Sgabor#
21219019Sgabor# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22219019Sgabor# or visit www.oracle.com if you need additional information or have any
23219019Sgabor# questions.
24219019Sgabor#
25219019Sgabor
26219019Sgabor# Properties for jprt
27219019Sgabor
28219019Sgabor# Locked down to jdk9
29219019Sgaborjprt.tools.default.release=jdk9
30219019Sgabor
31219019Sgabor# Unix toolkit to use for building on windows
32219019Sgaborjprt.windows.jdk8.build.unix.toolkit=cygwin
33219019Sgabor
34219019Sgabor# The different build flavors we want, we override here so we just get these 2
35219019Sgaborjprt.build.flavors=product,fastdebug
36219019Sgabor
37219019Sgabor# Standard list of jprt build targets for this source tree
38219019Sgaborjprt.build.targets= 						\
39219019Sgabor    solaris_sparcv9_5.11-{product|fastdebug}, 			\
40219019Sgabor    solaris_x64_5.11-{product|fastdebug}, 			\
41219019Sgabor    linux_i586_2.6-{product|fastdebug}, 			\
42219019Sgabor    linux_x64_2.6-{product|fastdebug}, 				\
43219019Sgabor    macosx_x64_10.7-{product|fastdebug}, 			\
44219019Sgabor    windows_i586_6.1-{product|fastdebug}, 			\
45219019Sgabor    windows_x64_6.1-{product|fastdebug}
46219019Sgabor
47219019Sgabor# User can select the test set with jprt submit "-testset name" option
48219019Sgaborjprt.my.test.set=${jprt.test.set}
49219019Sgabor
50219019Sgabor# Test target list (no fastdebug & limited c2 testing)
51219019Sgaborjprt.my.test.target.set= \
52219019Sgabor    solaris_sparcv9_5.11-product-c2-TESTNAME, 			\
53219019Sgabor    solaris_x64_5.11-product-c2-TESTNAME, 			\
54219019Sgabor    linux_i586_2.6-product-{c1|c2}-TESTNAME, 			\
55219019Sgabor    linux_x64_2.6-product-c2-TESTNAME, 				\
56219019Sgabor    macosx_x64_10.7-product-c2-TESTNAME, 			\
57219019Sgabor    windows_i586_6.1-product-c1-TESTNAME, 			\
58219019Sgabor    windows_x64_6.1-product-c2-TESTNAME
59219019Sgabor
60219019Sgabor# Default vm test targets (testset=default)
61219019Sgaborjprt.vm.default.test.targets=              			\
62219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jvm98},			\
63219019Sgabor    ${jprt.my.test.target.set:TESTNAME=scimark}
64219019Sgabor
65219019Sgabor# Default jdk test targets (testset=default)
66219019Sgaborjprt.make.rule.default.test.targets=				\
67219019Sgabor    ${jprt.my.test.target.set:TESTNAME=langtools_jtreg},        \
68219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_lang},               \
69219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_math},               \
70219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_util}
71219019Sgabor    
72219019Sgabor
73219019Sgabor# Default vm test targets (testset=core)
74219019Sgaborjprt.vm.core.test.targets=
75219019Sgabor
76219019Sgabor# Core jdk test targets (testset=core)
77219019Sgaborjprt.make.rule.core.test.targets=                               \
78219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_lang},               \
79219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_math},               \
80219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_util},               \
81219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_io},			\
82219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_net},		\
83219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_nio},		\
84219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_security1},		\
85219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_security2},          \
86219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_security3},          \
87219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_rmi},                \
88219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_text},		\
89219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_time},               \
90219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_other},              \
91219019Sgabor    ${jprt.my.test.target.set:TESTNAME=core_tools}
92219019Sgabor
93219019Sgabor# Svc vm test targets (testset=svc)
94219019Sgaborjprt.vm.svc.test.targets=
95219019Sgabor
96219019Sgabor# Core jdk test targets (testset=svc)
97219019Sgaborjprt.make.rule.svc.test.targets=                                \
98219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_management},         \
99219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_instrument},         \
100219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_jmx},                \
101219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_jdi},                \
102219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_jfr},                \
103219019Sgabor    ${jprt.my.test.target.set:TESTNAME=svc_tools}
104219019Sgabor
105219019Sgabor# All vm test targets (testset=all)
106219019Sgaborjprt.vm.all.test.targets=    					\
107219019Sgabor    ${jprt.vm.default.test.targets}, 				\
108219019Sgabor    ${jprt.my.test.target.set:TESTNAME=runThese},		\
109219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jbb_default}
110219019Sgabor
111219019Sgabor# All jdk test targets (testset=all)
112219019Sgaborjprt.make.rule.all.test.targets=    				\
113219019Sgabor    ${jprt.make.rule.core.test.targets}, 			\
114219019Sgabor    ${jprt.make.rule.svc.test.targets},                         \
115219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_awt},		\
116219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_beans1},             \
117219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_beans2},		\
118219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_beans3},		\
119219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_sound},		\
120219019Sgabor    ${jprt.my.test.target.set:TESTNAME=jdk_swing}
121219019Sgabor
122219019Sgabor# PIT vm test targets (testset=pit)
123219019Sgaborjprt.vm.pit.test.targets=                                       \
124219019Sgabor   ${jprt.vm.all.test.targets}
125219019Sgabor
126219019Sgabor# PIT jdk test targets (testset=pit)
127219019Sgaborjprt.make.rule.pit.test.targets=                                \
128219019Sgabor    ${jprt.my.test.target.set:TESTNAME=langtools_jtreg},        \
129219019Sgabor    ${jprt.make.rule.core.test.targets},                        \
130219019Sgabor    ${jprt.make.rule.svc.test.targets}
131219019Sgabor
132219019Sgabor# JCK test targets in test/Makefile (no windows)
133219019Sgaborjprt.my.jck.test.target.set=					\
134219019Sgabor    solaris_sparcv9_5.11-product-c2-JCK7TESTRULE, 		\
135219019Sgabor    solaris_x64_5.11-product-c2-JCK7TESTRULE, 			\
136219019Sgabor    linux_i586_2.6-product-c1-JCK7TESTRULE, 			\
137219019Sgabor    linux_x64_2.6-product-c2-JCK7TESTRULE
138219019Sgabor
139219019Sgabor# JCK testset targets (e.g. jprt submit -testset jck ... )
140219019Sgaborjprt.make.rule.jck.test.targets=				\
141219019Sgabor    ${jprt.my.jck.test.target.set:JCK7TESTRULE=jck7devtools},   \
142219019Sgabor    ${jprt.my.jck.test.target.set:JCK7TESTRULE=jck7runtime},    \
143219019Sgabor    ${jprt.my.jck.test.target.set:JCK7TESTRULE=jck7compiler}
144219019Sgabor
145219019Sgabor# Select list to use (allow for testset to be empty too)
146219019Sgaborjprt.make.rule..test.targets=${jprt.make.rule.default.test.targets}
147219019Sgaborjprt.make.rule.test.targets=${jprt.make.rule.${jprt.my.test.set}.test.targets}
148219019Sgaborjprt.vm..test.targets=${jprt.vm.default.test.targets}
149219019Sgaborjprt.test.targets=${jprt.vm.${jprt.my.test.set}.test.targets}
150219019Sgabor
151219019Sgabor# Directories to be excluded from the source bundles
152219019Sgaborjprt.bundle.exclude.src.dirs=build dist webrev
153219019Sgabor
154219019Sgabor# Instruct jprt to use configure when building
155219019Sgaborjprt.build.use.configure=true
156219019Sgaborjprt.build.flavor.product.target=jprt_bundle
157219019Sgaborjprt.build.flavor.fastdebug.target=jprt_bundle
158219019Sgaborjprt.build.flavor.debug.target=jprt_bundle
159219019Sgabor
160219019Sgabor# Add these configure args to all builds
161219019Sgaborjprt.build.configure.args= \
162219019Sgabor    --with-boot-jdk=$ALT_BOOTDIR \
163219019Sgabor    --with-jobs=$ALT_PARALLEL_COMPILE_JOBS
164219019Sgabor
165219019Sgabor# Add these configure args to 32 bit builds
166219019Sgaborjprt.i586.build.configure.args= \
167219019Sgabor    --with-target-bits=32 \
168219019Sgabor    --with-jvm-variants=client,server
169219019Sgabor
170219019Sgabor# Use these configure args to define debug level.
171219019Sgaborjprt.product.build.configure.args=--with-debug-level=release
172219019Sgaborjprt.fastdebug.build.configure.args=--with-debug-level=fastdebug
173219019Sgaborjprt.debug.build.configure.args=--with-debug-level=slowdebug
174219019Sgabor