jprt.properties revision 921:c3c75eda6606
11573Srgrimes#
21573Srgrimes# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
31573Srgrimes# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
41573Srgrimes#
51573Srgrimes# This code is free software; you can redistribute it and/or modify it
61573Srgrimes# under the terms of the GNU General Public License version 2 only, as
71573Srgrimes# published by the Free Software Foundation.  Oracle designates this
81573Srgrimes# particular file as subject to the "Classpath" exception as provided
91573Srgrimes# by Oracle in the LICENSE file that accompanied this code.
101573Srgrimes#
111573Srgrimes# This code is distributed in the hope that it will be useful, but WITHOUT
121573Srgrimes# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
131573Srgrimes# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
141573Srgrimes# version 2 for more details (a copy is included in the LICENSE file that
151573Srgrimes# accompanied this code).
161573Srgrimes#
171573Srgrimes# You should have received a copy of the GNU General Public License version
181573Srgrimes# 2 along with this work; if not, write to the Free Software Foundation,
191573Srgrimes# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
201573Srgrimes#
211573Srgrimes# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
221573Srgrimes# or visit www.oracle.com if you need additional information or have any
231573Srgrimes# questions.
241573Srgrimes#
251573Srgrimes
261573Srgrimes# Properties for jprt
271573Srgrimes
281573Srgrimes# Locked down to jdk8
291573Srgrimesjprt.tools.default.release=jdk8
301573Srgrimes
311573Srgrimes# Unix toolkit to use for building on windows
321573Srgrimesjprt.windows.jdk8.build.unix.toolkit=cygwin
3390039Sobrien
3490039Sobrien# The different build flavors we want, we override here so we just get these 2
351573Srgrimesjprt.build.flavors=product,fastdebug
361573Srgrimes
371573Srgrimes# Standard list of jprt build targets for this source tree
381573Srgrimesjprt.build.targets= 						\
3971579Sdeischen    solaris_sparcv9_5.10-{product|fastdebug}, 			\
401573Srgrimes    solaris_x64_5.10-{product|fastdebug}, 			\
4171579Sdeischen    linux_i586_2.6-{product|fastdebug}, 			\
4271579Sdeischen    linux_x64_2.6-{product|fastdebug}, 				\
431573Srgrimes    macosx_x64_10.7-{product|fastdebug}, 			\
44252429Sjilles    windows_i586_6.1-{product|fastdebug}, 			\
451573Srgrimes    windows_x64_6.1-{product|fastdebug}
461573Srgrimes
47287480Skib# User can select the test set with jprt submit "-testset name" option
481573Srgrimesjprt.my.test.set=${jprt.test.set}
491573Srgrimes
501573Srgrimes# Test target list (no fastdebug & limited c2 testing)
511573Srgrimesjprt.my.test.target.set= \
521573Srgrimes    solaris_sparcv9_5.10-product-c2-TESTNAME, 			\
531573Srgrimes    solaris_x64_5.10-product-c2-TESTNAME, 			\
541573Srgrimes    linux_i586_2.6-product-{c1|c2}-TESTNAME, 			\
551573Srgrimes    linux_x64_2.6-product-c2-TESTNAME, 				\
56287480Skib    macosx_x64_10.7-product-c2-TESTNAME, 			\
571573Srgrimes    windows_i586_6.1-product-c1-TESTNAME, 			\
581573Srgrimes    windows_x64_6.1-product-c2-TESTNAME
591573Srgrimes
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