jprt.properties revision 922:bd254db01a0e
1#
2# Copyright (c) 2006, 2013, 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# Properties for jprt
27
28# Locked down to jdk8
29jprt.tools.default.release=jdk9
30
31# Unix toolkit to use for building on windows
32jprt.windows.jdk8.build.unix.toolkit=cygwin
33
34# The different build flavors we want, we override here so we just get these 2
35jprt.build.flavors=product,fastdebug
36
37# Standard list of jprt build targets for this source tree
38jprt.build.targets= 						\
39    solaris_sparcv9_5.10-{product|fastdebug}, 			\
40    solaris_x64_5.10-{product|fastdebug}, 			\
41    linux_i586_2.6-{product|fastdebug}, 			\
42    linux_x64_2.6-{product|fastdebug}, 				\
43    macosx_x64_10.7-{product|fastdebug}, 			\
44    windows_i586_6.1-{product|fastdebug}, 			\
45    windows_x64_6.1-{product|fastdebug}
46
47# User can select the test set with jprt submit "-testset name" option
48jprt.my.test.set=${jprt.test.set}
49
50# Test target list (no fastdebug & limited c2 testing)
51jprt.my.test.target.set= \
52    solaris_sparcv9_5.10-product-c2-TESTNAME, 			\
53    solaris_x64_5.10-product-c2-TESTNAME, 			\
54    linux_i586_2.6-product-{c1|c2}-TESTNAME, 			\
55    linux_x64_2.6-product-c2-TESTNAME, 				\
56    macosx_x64_10.7-product-c2-TESTNAME, 			\
57    windows_i586_6.1-product-c1-TESTNAME, 			\
58    windows_x64_6.1-product-c2-TESTNAME
59
60# Default vm test targets (testset=default)
61jprt.vm.default.test.targets=              			\
62    ${jprt.my.test.target.set:TESTNAME=jvm98},			\
63    ${jprt.my.test.target.set:TESTNAME=scimark}
64
65# Default jdk test targets (testset=default)
66jprt.make.rule.default.test.targets=				\
67    ${jprt.my.test.target.set:TESTNAME=langtools_jtreg},        \
68    ${jprt.my.test.target.set:TESTNAME=jdk_lang},               \
69    ${jprt.my.test.target.set:TESTNAME=jdk_math},               \
70    ${jprt.my.test.target.set:TESTNAME=jdk_util}
71    
72
73# Default vm test targets (testset=core)
74jprt.vm.core.test.targets=
75
76# Core jdk test targets (testset=core)
77jprt.make.rule.core.test.targets=                               \
78    ${jprt.my.test.target.set:TESTNAME=jdk_lang},               \
79    ${jprt.my.test.target.set:TESTNAME=jdk_math},               \
80    ${jprt.my.test.target.set:TESTNAME=jdk_util},               \
81    ${jprt.my.test.target.set:TESTNAME=jdk_io},			\
82    ${jprt.my.test.target.set:TESTNAME=jdk_net},		\
83    ${jprt.my.test.target.set:TESTNAME=jdk_nio},		\
84    ${jprt.my.test.target.set:TESTNAME=jdk_security1},		\
85    ${jprt.my.test.target.set:TESTNAME=jdk_security2},          \
86    ${jprt.my.test.target.set:TESTNAME=jdk_security3},          \
87    ${jprt.my.test.target.set:TESTNAME=jdk_rmi},                \
88    ${jprt.my.test.target.set:TESTNAME=jdk_text},		\
89    ${jprt.my.test.target.set:TESTNAME=jdk_time},               \
90    ${jprt.my.test.target.set:TESTNAME=jdk_other},              \
91    ${jprt.my.test.target.set:TESTNAME=core_tools}
92
93# Svc vm test targets (testset=svc)
94jprt.vm.svc.test.targets=
95
96# Core jdk test targets (testset=svc)
97jprt.make.rule.svc.test.targets=                                \
98    ${jprt.my.test.target.set:TESTNAME=jdk_management},         \
99    ${jprt.my.test.target.set:TESTNAME=jdk_instrument},         \
100    ${jprt.my.test.target.set:TESTNAME=jdk_jmx},                \
101    ${jprt.my.test.target.set:TESTNAME=jdk_jdi},                \
102    ${jprt.my.test.target.set:TESTNAME=jdk_jfr},                \
103    ${jprt.my.test.target.set:TESTNAME=svc_tools}
104
105# All vm test targets (testset=all)
106jprt.vm.all.test.targets=    					\
107    ${jprt.vm.default.test.targets}, 				\
108    ${jprt.my.test.target.set:TESTNAME=runThese},		\
109    ${jprt.my.test.target.set:TESTNAME=jbb_default}
110
111# All jdk test targets (testset=all)
112jprt.make.rule.all.test.targets=    				\
113    ${jprt.make.rule.core.test.targets}, 			\
114    ${jprt.make.rule.svc.test.targets},                         \
115    ${jprt.my.test.target.set:TESTNAME=jdk_awt},		\
116    ${jprt.my.test.target.set:TESTNAME=jdk_beans1},             \
117    ${jprt.my.test.target.set:TESTNAME=jdk_beans2},		\
118    ${jprt.my.test.target.set:TESTNAME=jdk_beans3},		\
119    ${jprt.my.test.target.set:TESTNAME=jdk_sound},		\
120    ${jprt.my.test.target.set:TESTNAME=jdk_swing}
121
122# PIT vm test targets (testset=pit)
123jprt.vm.pit.test.targets=                                       \
124   ${jprt.vm.all.test.targets}
125
126# PIT jdk test targets (testset=pit)
127jprt.make.rule.pit.test.targets=                                \
128    ${jprt.my.test.target.set:TESTNAME=langtools_jtreg},        \
129    ${jprt.make.rule.core.test.targets},                        \
130    ${jprt.make.rule.svc.test.targets}
131
132# JCK test targets in test/Makefile (no windows)
133jprt.my.jck.test.target.set=					\
134    solaris_sparcv9_5.10-product-c2-JCK7TESTRULE, 		\
135    solaris_x64_5.10-product-c2-JCK7TESTRULE, 			\
136    linux_i586_2.6-product-c1-JCK7TESTRULE, 			\
137    linux_x64_2.6-product-c2-JCK7TESTRULE
138
139# JCK testset targets (e.g. jprt submit -testset jck ... )
140jprt.make.rule.jck.test.targets=				\
141    ${jprt.my.jck.test.target.set:JCK7TESTRULE=jck7devtools},   \
142    ${jprt.my.jck.test.target.set:JCK7TESTRULE=jck7runtime},    \
143    ${jprt.my.jck.test.target.set:JCK7TESTRULE=jck7compiler}
144
145# Select list to use (allow for testset to be empty too)
146jprt.make.rule..test.targets=${jprt.make.rule.default.test.targets}
147jprt.make.rule.test.targets=${jprt.make.rule.${jprt.my.test.set}.test.targets}
148jprt.vm..test.targets=${jprt.vm.default.test.targets}
149jprt.test.targets=${jprt.vm.${jprt.my.test.set}.test.targets}
150
151# Directories to be excluded from the source bundles
152jprt.bundle.exclude.src.dirs=build dist webrev
153
154# Instruct jprt to use configure when building
155jprt.build.use.configure=true
156jprt.build.flavor.product.target=jprt_bundle
157jprt.build.flavor.fastdebug.target=jprt_bundle
158jprt.build.flavor.debug.target=jprt_bundle
159
160# Add these configure args to all builds
161jprt.build.configure.args= \
162    --with-boot-jdk=$ALT_BOOTDIR \
163    --with-jobs=$ALT_PARALLEL_COMPILE_JOBS
164
165# Add these configure args to 32 bit builds
166jprt.i586.build.configure.args= \
167    --with-target-bits=32 \
168    --with-jvm-variants=client,server
169
170# Use these configure args to define debug level.
171jprt.product.build.configure.args=--with-debug-level=release
172jprt.fastdebug.build.configure.args=--with-debug-level=fastdebug
173jprt.debug.build.configure.args=--with-debug-level=slowdebug
174