blob: 2adc170203a6d668afeb440d2368234ee3c0cb9c [file] [log] [blame]
J. Duke686d76f2007-12-01 00:00:00 +00001#
Tim Bell06564ac2013-09-25 12:21:35 -07002# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
J. Duke686d76f2007-12-01 00:00:00 +00003# 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
Kelly O'Hair136614e2010-05-25 15:51:26 -07007# published by the Free Software Foundation. Oracle designates this
J. Duke686d76f2007-12-01 00:00:00 +00008# particular file as subject to the "Classpath" exception as provided
Kelly O'Hair136614e2010-05-25 15:51:26 -07009# by Oracle in the LICENSE file that accompanied this code.
J. Duke686d76f2007-12-01 00:00:00 +000010#
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#
Kelly O'Hair136614e2010-05-25 15:51:26 -070021# 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.
J. Duke686d76f2007-12-01 00:00:00 +000024#
25
26# Properties for jprt
J. Duke686d76f2007-12-01 00:00:00 +000027
Kelly O'Hairc0323a82011-12-12 08:11:05 -080028# Locked down to jdk8
Kelly O'Hair5ed600c2011-07-22 17:35:54 -070029jprt.tools.default.release=jdk8
J. Duke686d76f2007-12-01 00:00:00 +000030
Kelly O'Hairec348ed2013-01-04 21:04:03 -080031# Unix toolkit to use for building on windows
32jprt.windows.jdk8.build.unix.toolkit=cygwin
33
Kelly O'Hair68ba7cf2010-09-07 15:13:58 -070034# The different build flavors we want, we override here so we just get these 2
J. Duke686d76f2007-12-01 00:00:00 +000035jprt.build.flavors=product,fastdebug
J. Duke686d76f2007-12-01 00:00:00 +000036
Kelly O'Hair4e0aea22010-09-24 14:04:01 -070037# Standard list of jprt build targets for this source tree
38jprt.build.targets= \
Kelly O'Hair4e0aea22010-09-24 14:04:01 -070039 solaris_sparcv9_5.10-{product|fastdebug}, \
Kelly O'Hair4e0aea22010-09-24 14:04:01 -070040 solaris_x64_5.10-{product|fastdebug}, \
41 linux_i586_2.6-{product|fastdebug}, \
42 linux_x64_2.6-{product|fastdebug}, \
Alan Batemanec8aa632012-03-06 20:25:18 +000043 macosx_x64_10.7-{product|fastdebug}, \
Tim Bell06564ac2013-09-25 12:21:35 -070044 windows_i586_6.1-{product|fastdebug}, \
45 windows_x64_6.1-{product|fastdebug}
Kelly O'Hair891aa6b2010-03-06 15:00:40 -080046
Kelly O'Hair4e0aea22010-09-24 14:04:01 -070047# User can select the test set with jprt submit "-testset name" option
48jprt.my.test.set=${jprt.test.set}
49
Kelly O'Hairc0323a82011-12-12 08:11:05 -080050# Test target list (no fastdebug & limited c2 testing)
51jprt.my.test.target.set= \
Kelly O'Hairc0323a82011-12-12 08:11:05 -080052 solaris_sparcv9_5.10-product-c2-TESTNAME, \
Kelly O'Hairc0323a82011-12-12 08:11:05 -080053 solaris_x64_5.10-product-c2-TESTNAME, \
54 linux_i586_2.6-product-{c1|c2}-TESTNAME, \
55 linux_x64_2.6-product-c2-TESTNAME, \
Alan Batemanec8aa632012-03-06 20:25:18 +000056 macosx_x64_10.7-product-c2-TESTNAME, \
Tim Bell06564ac2013-09-25 12:21:35 -070057 windows_i586_6.1-product-c1-TESTNAME, \
58 windows_x64_6.1-product-c2-TESTNAME
Kelly O'Hairc0323a82011-12-12 08:11:05 -080059
60# Default vm test targets (testset=default)
Kelly O'Hair4e0aea22010-09-24 14:04:01 -070061jprt.vm.default.test.targets= \
Kelly O'Hairc0323a82011-12-12 08:11:05 -080062 ${jprt.my.test.target.set:TESTNAME=jvm98}, \
63 ${jprt.my.test.target.set:TESTNAME=scimark}
Kelly O'Hair4e0aea22010-09-24 14:04:01 -070064
Kelly O'Hairc0323a82011-12-12 08:11:05 -080065# Default jdk test targets (testset=default)
Kelly O'Hair4e0aea22010-09-24 14:04:01 -070066jprt.make.rule.default.test.targets= \
Alan Batemanc72c2be2012-01-24 09:08:43 +000067 ${jprt.my.test.target.set:TESTNAME=langtools_jtreg}, \
68 ${jprt.my.test.target.set:TESTNAME=jdk_lang}, \
Alan Batemane0fbec82013-11-19 14:11:59 +000069 ${jprt.my.test.target.set:TESTNAME=jdk_math}, \
70 ${jprt.my.test.target.set:TESTNAME=jdk_util}
71
Alan Batemanc72c2be2012-01-24 09:08:43 +000072
73# Default vm test targets (testset=core)
Alan Batemane0fbec82013-11-19 14:11:59 +000074jprt.vm.core.test.targets=
Alan Batemanc72c2be2012-01-24 09:08:43 +000075
76# Core jdk test targets (testset=core)
77jprt.make.rule.core.test.targets= \
Alan Batemane0fbec82013-11-19 14:11:59 +000078 ${jprt.my.test.target.set:TESTNAME=jdk_lang}, \
79 ${jprt.my.test.target.set:TESTNAME=jdk_math}, \
Alan Batemanc72c2be2012-01-24 09:08:43 +000080 ${jprt.my.test.target.set:TESTNAME=jdk_util}, \
Kelly O'Hairc0323a82011-12-12 08:11:05 -080081 ${jprt.my.test.target.set:TESTNAME=jdk_io}, \
Kelly O'Hairc0323a82011-12-12 08:11:05 -080082 ${jprt.my.test.target.set:TESTNAME=jdk_net}, \
Alan Batemanb807a9b2012-10-09 13:25:27 +010083 ${jprt.my.test.target.set:TESTNAME=jdk_nio}, \
Kelly O'Hairc0323a82011-12-12 08:11:05 -080084 ${jprt.my.test.target.set:TESTNAME=jdk_security1}, \
Alan Batemanc72c2be2012-01-24 09:08:43 +000085 ${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}, \
Kelly O'Hairc0323a82011-12-12 08:11:05 -080088 ${jprt.my.test.target.set:TESTNAME=jdk_text}, \
Stephen Colebourne4b926cf2013-01-22 21:02:06 -080089 ${jprt.my.test.target.set:TESTNAME=jdk_time}, \
Alan Batemane0fbec82013-11-19 14:11:59 +000090 ${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}
Kelly O'Hair4e0aea22010-09-24 14:04:01 -0700104
Kelly O'Hairc0323a82011-12-12 08:11:05 -0800105# All vm test targets (testset=all)
Kelly O'Hair4e0aea22010-09-24 14:04:01 -0700106jprt.vm.all.test.targets= \
Kelly O'Hairc0323a82011-12-12 08:11:05 -0800107 ${jprt.vm.default.test.targets}, \
108 ${jprt.my.test.target.set:TESTNAME=runThese}, \
109 ${jprt.my.test.target.set:TESTNAME=jbb_default}
Kelly O'Hair4e0aea22010-09-24 14:04:01 -0700110
Kelly O'Hairc0323a82011-12-12 08:11:05 -0800111# All jdk test targets (testset=all)
Kelly O'Hair4e0aea22010-09-24 14:04:01 -0700112jprt.make.rule.all.test.targets= \
Alan Batemanc72c2be2012-01-24 09:08:43 +0000113 ${jprt.make.rule.core.test.targets}, \
Alan Batemane0fbec82013-11-19 14:11:59 +0000114 ${jprt.make.rule.svc.test.targets}, \
Kelly O'Hairc0323a82011-12-12 08:11:05 -0800115 ${jprt.my.test.target.set:TESTNAME=jdk_awt}, \
Alan Batemanc72c2be2012-01-24 09:08:43 +0000116 ${jprt.my.test.target.set:TESTNAME=jdk_beans1}, \
Kelly O'Hairc0323a82011-12-12 08:11:05 -0800117 ${jprt.my.test.target.set:TESTNAME=jdk_beans2}, \
118 ${jprt.my.test.target.set:TESTNAME=jdk_beans3}, \
Kelly O'Hairc0323a82011-12-12 08:11:05 -0800119 ${jprt.my.test.target.set:TESTNAME=jdk_sound}, \
Alan Batemanc72c2be2012-01-24 09:08:43 +0000120 ${jprt.my.test.target.set:TESTNAME=jdk_swing}
Kelly O'Hair4e0aea22010-09-24 14:04:01 -0700121
Alan Batemane0fbec82013-11-19 14:11:59 +0000122# 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
Kelly O'Hairc0323a82011-12-12 08:11:05 -0800132# JCK test targets in test/Makefile (no windows)
Kelly O'Hairb115ff42011-03-22 11:07:40 -0700133jprt.my.jck.test.target.set= \
Kelly O'Hairb115ff42011-03-22 11:07:40 -0700134 solaris_sparcv9_5.10-product-c2-JCK7TESTRULE, \
Kelly O'Hairb115ff42011-03-22 11:07:40 -0700135 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
Kelly O'Hair4e0aea22010-09-24 14:04:01 -0700145# Select list to use (allow for testset to be empty too)
Kelly O'Hairc0323a82011-12-12 08:11:05 -0800146jprt.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}
Kelly O'Hair891aa6b2010-03-06 15:00:40 -0800150
Kelly O'Hair68ba7cf2010-09-07 15:13:58 -0700151# Directories to be excluded from the source bundles
Kelly O'Hair891aa6b2010-03-06 15:00:40 -0800152jprt.bundle.exclude.src.dirs=build dist webrev
J. Duke686d76f2007-12-01 00:00:00 +0000153
Erik Joelssond9706a02013-12-17 11:09:26 +0100154# 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