jprt.properties 7.2 KB
Newer Older
D
duke 已提交
1
#
2
# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
D
duke 已提交
3 4 5 6
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
7
# published by the Free Software Foundation.  Oracle designates this
D
duke 已提交
8
# particular file as subject to the "Classpath" exception as provided
9
# by Oracle in the LICENSE file that accompanied this code.
D
duke 已提交
10 11 12 13 14 15 16 17 18 19 20
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
21 22 23
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
D
duke 已提交
24 25 26 27
#

# Properties for jprt

28
# Locked down to jdk9
29
jprt.tools.default.release=jdk9
D
duke 已提交
30

31 32 33
# Unix toolkit to use for building on windows
jprt.windows.jdk8.build.unix.toolkit=cygwin

34
# The different build flavors we want, we override here so we just get these 2
D
duke 已提交
35 36
jprt.build.flavors=product,fastdebug

O
ohair 已提交
37 38
# Standard list of jprt build targets for this source tree
jprt.build.targets= 						\
39 40
    solaris_sparcv9_5.11-{product|fastdebug}, 			\
    solaris_x64_5.11-{product|fastdebug}, 			\
O
ohair 已提交
41 42
    linux_i586_2.6-{product|fastdebug}, 			\
    linux_x64_2.6-{product|fastdebug}, 				\
43
    macosx_x64_10.7-{product|fastdebug}, 			\
44 45
    windows_i586_6.1-{product|fastdebug}, 			\
    windows_x64_6.1-{product|fastdebug}
O
ohair 已提交
46 47 48 49

# User can select the test set with jprt submit "-testset name" option
jprt.my.test.set=${jprt.test.set}

50 51
# Test target list (no fastdebug & limited c2 testing)
jprt.my.test.target.set= \
52 53
    solaris_sparcv9_5.11-product-c2-TESTNAME, 			\
    solaris_x64_5.11-product-c2-TESTNAME, 			\
54 55
    linux_i586_2.6-product-{c1|c2}-TESTNAME, 			\
    linux_x64_2.6-product-c2-TESTNAME, 				\
56
    macosx_x64_10.7-product-c2-TESTNAME, 			\
57 58
    windows_i586_6.1-product-c1-TESTNAME, 			\
    windows_x64_6.1-product-c2-TESTNAME
59 60

# Default vm test targets (testset=default)
O
ohair 已提交
61
jprt.vm.default.test.targets=              			\
62 63
    ${jprt.my.test.target.set:TESTNAME=jvm98},			\
    ${jprt.my.test.target.set:TESTNAME=scimark}
O
ohair 已提交
64

65
# Default jdk test targets (testset=default)
O
ohair 已提交
66
jprt.make.rule.default.test.targets=				\
67 68
    ${jprt.my.test.target.set:TESTNAME=langtools_jtreg},        \
    ${jprt.my.test.target.set:TESTNAME=jdk_lang},               \
69 70 71
    ${jprt.my.test.target.set:TESTNAME=jdk_math},               \
    ${jprt.my.test.target.set:TESTNAME=jdk_util}
    
72 73

# Default vm test targets (testset=core)
74
jprt.vm.core.test.targets=
75 76 77

# Core jdk test targets (testset=core)
jprt.make.rule.core.test.targets=                               \
78 79
    ${jprt.my.test.target.set:TESTNAME=jdk_lang},               \
    ${jprt.my.test.target.set:TESTNAME=jdk_math},               \
80
    ${jprt.my.test.target.set:TESTNAME=jdk_util},               \
81 82
    ${jprt.my.test.target.set:TESTNAME=jdk_io},			\
    ${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 86 87
    ${jprt.my.test.target.set:TESTNAME=jdk_security2},          \
    ${jprt.my.test.target.set:TESTNAME=jdk_security3},          \
    ${jprt.my.test.target.set:TESTNAME=jdk_rmi},                \
88 89 90 91 92 93 94 95 96 97
    ${jprt.my.test.target.set:TESTNAME=jdk_text},		\
    ${jprt.my.test.target.set:TESTNAME=jdk_time},               \
    ${jprt.my.test.target.set:TESTNAME=jdk_other},              \
    ${jprt.my.test.target.set:TESTNAME=core_tools}

# Svc vm test targets (testset=svc)
jprt.vm.svc.test.targets=

# Core jdk test targets (testset=svc)
jprt.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}
O
ohair 已提交
104

105
# All vm test targets (testset=all)
O
ohair 已提交
106
jprt.vm.all.test.targets=    					\
107 108 109
    ${jprt.vm.default.test.targets}, 				\
    ${jprt.my.test.target.set:TESTNAME=runThese},		\
    ${jprt.my.test.target.set:TESTNAME=jbb_default}
110

111
# All jdk test targets (testset=all)
O
ohair 已提交
112
jprt.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 118 119
    ${jprt.my.test.target.set:TESTNAME=jdk_beans2},		\
    ${jprt.my.test.target.set:TESTNAME=jdk_beans3},		\
    ${jprt.my.test.target.set:TESTNAME=jdk_sound},		\
120
    ${jprt.my.test.target.set:TESTNAME=jdk_swing}
121

122 123 124 125 126 127 128 129 130 131
# PIT vm test targets (testset=pit)
jprt.vm.pit.test.targets=                                       \
   ${jprt.vm.all.test.targets}

# PIT jdk test targets (testset=pit)
jprt.make.rule.pit.test.targets=                                \
    ${jprt.my.test.target.set:TESTNAME=langtools_jtreg},        \
    ${jprt.make.rule.core.test.targets},                        \
    ${jprt.make.rule.svc.test.targets}

132
# JCK test targets in test/Makefile (no windows)
133
jprt.my.jck.test.target.set=					\
134 135
    solaris_sparcv9_5.11-product-c2-JCK7TESTRULE, 		\
    solaris_x64_5.11-product-c2-JCK7TESTRULE, 			\
136 137 138 139 140 141 142 143 144
    linux_i586_2.6-product-c1-JCK7TESTRULE, 			\
    linux_x64_2.6-product-c2-JCK7TESTRULE

# JCK testset targets (e.g. jprt submit -testset jck ... )
jprt.make.rule.jck.test.targets=				\
    ${jprt.my.jck.test.target.set:JCK7TESTRULE=jck7devtools},   \
    ${jprt.my.jck.test.target.set:JCK7TESTRULE=jck7runtime},    \
    ${jprt.my.jck.test.target.set:JCK7TESTRULE=jck7compiler}

O
ohair 已提交
145
# Select list to use (allow for testset to be empty too)
146 147 148 149
jprt.make.rule..test.targets=${jprt.make.rule.default.test.targets}
jprt.make.rule.test.targets=${jprt.make.rule.${jprt.my.test.set}.test.targets}
jprt.vm..test.targets=${jprt.vm.default.test.targets}
jprt.test.targets=${jprt.vm.${jprt.my.test.set}.test.targets}
150

151
# Directories to be excluded from the source bundles
152
jprt.bundle.exclude.src.dirs=build dist webrev
D
duke 已提交
153

154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
# Instruct jprt to use configure when building
jprt.build.use.configure=true
jprt.build.flavor.product.target=jprt_bundle
jprt.build.flavor.fastdebug.target=jprt_bundle
jprt.build.flavor.debug.target=jprt_bundle

# Add these configure args to all builds
jprt.build.configure.args= \
    --with-boot-jdk=$ALT_BOOTDIR \
    --with-jobs=$ALT_PARALLEL_COMPILE_JOBS

# Add these configure args to 32 bit builds
jprt.i586.build.configure.args= \
    --with-target-bits=32 \
    --with-jvm-variants=client,server

# Use these configure args to define debug level.
jprt.product.build.configure.args=--with-debug-level=release
jprt.fastdebug.build.configure.args=--with-debug-level=fastdebug
jprt.debug.build.configure.args=--with-debug-level=slowdebug