jprt.properties revision 1679:a60a0c1bd394
1# 2# Copyright (c) 2006, 2015, 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############## 27# 28# Global settings 29# 30 31# Install test bundle for targets in jprt.test.bundle.targets set 32jprt.selective.test.bundle.installation=true 33 34# The current release name 35jprt.tools.default.release=jdk9 36 37# Check if this is the equivalent of a hotspot push job 38# Interpret -testset hotspot to mean exactly that 39my.is.hotspot.job.hotspot=true 40my.is.hotspot.job=${my.is.hotspot.job.${jprt.test.set}} 41 42# Disable syncing the source after builds and tests are done 43jprt.sync.push=${my.is.hotspot.job ? false : true} 44 45# Directories to be excluded from the source bundles 46jprt.bundle.exclude.src.dirs=build dist webrev 47 48# Use configure when building 49jprt.build.use.configure=true 50 51# Set up the run flavors (jvm variants) 52jprt.run.flavors=c1,c2,default,${my.additional.run.flavors} 53 54# Set make target to use for different build flavors 55jprt.build.flavor.debugOpen.target=jprt_bundle 56jprt.build.flavor.fastdebug.target=jprt_bundle 57jprt.build.flavor.product.target=jprt_bundle 58jprt.build.flavor.productOpen.target=jprt_bundle 59jprt.build.flavor.optimized.target=jprt_bundle 60jprt.build.flavor.optimizedOpen.target=jprt_bundle 61 62# Use these configure args to define debug level 63jprt.debug.build.configure.args=--with-debug-level=slowdebug 64jprt.fastdebug.build.configure.args=--with-debug-level=fastdebug --disable-precompiled-headers 65jprt.product.build.configure.args=--with-debug-level=release 66jprt.optimized.build.configure.args=--with-debug-level=optimized 67jprt.debugOpen.build.configure.args=${jprt.debug.build.configure.args} --enable-openjdk-only 68jprt.fastdebugOpen.build.configure.args=${jprt.fastdebug.build.configure.args} --enable-openjdk-only 69jprt.productOpen.build.configure.args=${jprt.product.build.configure.args} --enable-openjdk-only 70jprt.optimizedOpen.build.configure.args=${jprt.product.build.configure.args} --enable-openjdk-only 71 72# Select build flavors and build targets 73jprt.build.flavors=${my.is.hotspot.job ? ${my.build.flavors.hotspot} : ${my.build.flavors.default}} 74jprt.build.targets=${my.is.hotspot.job ? ${my.build.targets.hotspot} : ${my.build.targets.default}} 75 76# Select test targets - jprt default for jprt.test.set is "default" 77jprt.test.targets=${my.test.targets.${jprt.test.set}} 78jprt.make.rule.test.targets=${my.make.rule.test.targets.${jprt.test.set}} 79jprt.test.bundle.targets=${my.jprt.test.bundle.targets.${jprt.test.set}} 80 81# 7155453: Work-around to prevent popups on OSX from blocking test completion 82# but the work-around is added to all platforms to be consistent 83jprt.jbb.options=-Djava.awt.headless=true 84 85######## 86# 87# Build options (generic) 88# 89 90# Configure args common to all builds 91# Also allows for additional, testset specific configure arguments to be set 92jprt.build.configure.args= \ 93 --with-output-sync=recurse \ 94 --with-boot-jdk=$ALT_BOOTDIR \ 95 --with-jobs=$ALT_PARALLEL_COMPILE_JOBS \ 96 ${my.additional.build.configure.args.${jprt.test.set}} \ 97 ${my.custom.build.configure.args} 98 99# i586 is often cross-compiled from 64-bit machines, so need to set target bits explicitly 100jprt.i586.build.configure.args= \ 101 --with-target-bits=32 102 103# i586 platforms have both client and server, but to allow for overriding the exact configuration 104# on a per-build flavor basis the value is set for the individual build flavors 105my.i586.default.build.configure.args= \ 106 --with-jvm-variants=client,server 107jprt.i586.debug.build.configure.args= \ 108 ${my.i586.default.build.configure.args} \ 109 ${jprt.debug.build.configure.args} 110jprt.i586.fastdebug.build.configure.args= \ 111 ${my.i586.default.build.configure.args} \ 112 ${jprt.fastdebug.build.configure.args} 113jprt.i586.product.build.configure.args= \ 114 ${my.i586.default.build.configure.args} \ 115 ${jprt.product.build.configure.args} 116jprt.i586.debugOpen.build.configure.args= \ 117 ${my.i586.default.build.configure.args} \ 118 ${jprt.debugOpen.build.configure.args} 119jprt.i586.fastdebugOpen.build.configure.args= \ 120 ${my.i586.default.build.configure.args} \ 121 ${jprt.fastdebugOpen.build.configure.args} 122jprt.i586.productOpen.build.configure.args= \ 123 ${my.i586.default.build.configure.args} \ 124 ${jprt.productOpen.build.configure.args} 125jprt.linux_i586.build.configure.args= \ 126 --with-devkit=$GCC492_OEL64_HOME \ 127 ${jprt.i586.build.configure.args} 128jprt.linux_x64.build.configure.args= \ 129 --with-devkit=$GCC492_OEL64_HOME 130jprt.windows_i586.build.configure.args= \ 131 --with-devkit=$VS2013SP4_HOME \ 132 ${jprt.i586.build.configure.args} 133jprt.windows_x64.build.configure.args= \ 134 --with-devkit=$VS2013SP4_HOME 135 136######## 137# 138# Build targets and options (default/jdk) 139# 140 141# The default build flavors 142my.build.flavors.default=fastdebug,product 143 144# Standard list of jprt build targets for this source tree 145my.build.targets.default= \ 146 solaris_sparcv9_5.11-{product|fastdebug}, \ 147 solaris_x64_5.11-{product|fastdebug}, \ 148 linux_i586_2.6-{product|fastdebug}, \ 149 linux_x64_2.6-{product|fastdebug}, \ 150 macosx_x64_10.9-{product|fastdebug}, \ 151 windows_i586_6.2-{product|fastdebug}, \ 152 windows_x64_6.2-{product|fastdebug} 153 154# Test target list (no fastdebug & limited c2 testing) 155my.test.target.set= \ 156 solaris_sparcv9_5.11-product-c2-TESTNAME, \ 157 solaris_x64_5.11-product-c2-TESTNAME, \ 158 linux_i586_2.6-product-{c1|c2}-TESTNAME, \ 159 linux_x64_2.6-product-c2-TESTNAME, \ 160 macosx_x64_10.9-product-c2-TESTNAME, \ 161 windows_i586_6.2-product-c1-TESTNAME, \ 162 windows_x64_6.2-product-c2-TESTNAME 163 164# Default vm test targets (testset=default) 165my.test.targets.default= \ 166 ${my.test.target.set:TESTNAME=jvm98}, \ 167 ${my.test.target.set:TESTNAME=scimark} 168 169# Default jdk test targets (testset=default) 170my.make.rule.test.targets.default= \ 171 ${my.test.target.set:TESTNAME=langtools_jtreg}, \ 172 ${my.test.target.set:TESTNAME=jdk_lang}, \ 173 ${my.test.target.set:TESTNAME=jdk_math}, \ 174 ${my.test.target.set:TESTNAME=jdk_util} 175 176# Default vm test targets (testset=core) 177my.test.targets.core= 178 179# Core jdk test targets (testset=core) 180my.make.rule.test.targets.core= \ 181 ${my.test.target.set:TESTNAME=jdk_lang}, \ 182 ${my.test.target.set:TESTNAME=jdk_math}, \ 183 ${my.test.target.set:TESTNAME=jdk_util}, \ 184 ${my.test.target.set:TESTNAME=jdk_io}, \ 185 ${my.test.target.set:TESTNAME=jdk_net}, \ 186 ${my.test.target.set:TESTNAME=jdk_nio}, \ 187 ${my.test.target.set:TESTNAME=jdk_security1}, \ 188 ${my.test.target.set:TESTNAME=jdk_security2}, \ 189 ${my.test.target.set:TESTNAME=jdk_security3}, \ 190 ${my.test.target.set:TESTNAME=jdk_security4}, \ 191 ${my.test.target.set:TESTNAME=jdk_rmi}, \ 192 ${my.test.target.set:TESTNAME=jdk_text}, \ 193 ${my.test.target.set:TESTNAME=jdk_time}, \ 194 ${my.test.target.set:TESTNAME=jdk_other}, \ 195 ${my.test.target.set:TESTNAME=core_tools} 196 197# Svc vm test targets (testset=svc) 198my.test.targets.svc= 199 200# Core jdk test targets (testset=svc) 201my.make.rule.test.targets.svc= \ 202 ${my.test.target.set:TESTNAME=jdk_management}, \ 203 ${my.test.target.set:TESTNAME=jdk_instrument}, \ 204 ${my.test.target.set:TESTNAME=jdk_jmx}, \ 205 ${my.test.target.set:TESTNAME=jdk_jdi}, \ 206 ${my.test.target.set:TESTNAME=svc_tools}, \ 207 ${my.make.rule.test.targets.svc.extra} 208 209# JAXP vm test targets (testset=jaxp) 210my.test.targets.jaxp= 211 212# JAXP test targets (testset=jaxp) 213my.make.rule.test.targets.jaxp= \ 214 ${my.test.target.set:TESTNAME=jaxp_all} 215 216# All vm test targets (testset=all) 217my.test.targets.all= \ 218 ${my.test.targets.default}, \ 219 ${my.test.target.set:TESTNAME=runThese}, \ 220 ${my.test.target.set:TESTNAME=jbb_default} 221 222# All jdk test targets (testset=all) 223my.make.rule.test.targets.all= \ 224 ${my.make.rule.test.targets.core}, \ 225 ${my.make.rule.test.targets.svc}, \ 226 ${my.test.target.set:TESTNAME=jdk_awt}, \ 227 ${my.test.target.set:TESTNAME=jdk_beans}, \ 228 ${my.test.target.set:TESTNAME=jdk_sound}, \ 229 ${my.test.target.set:TESTNAME=jdk_swing} 230 231# PIT vm test targets (testset=pit) 232my.test.targets.pit= \ 233 ${my.test.targets.all} 234 235# PIT jdk test targets (testset=pit) 236my.make.rule.test.targets.pit= \ 237 ${my.test.target.set:TESTNAME=langtools_jtreg}, \ 238 ${my.make.rule.test.targets.core}, \ 239 ${my.make.rule.test.targets.svc} \ 240 ${my.make.rule.test.targets.jaxp} 241 242# JCK test targets in test/Makefile (no windows) 243my.test.target.set.jck= \ 244 solaris_sparcv9_5.11-product-c2-JCK7TESTRULE, \ 245 solaris_x64_5.11-product-c2-JCK7TESTRULE, \ 246 linux_i586_2.6-product-c1-JCK7TESTRULE, \ 247 linux_x64_2.6-product-c2-JCK7TESTRULE 248 249# JCK testset targets 250my.make.rule.test.targets.jck= \ 251 ${my.test.target.set.jck:JCK7TESTRULE=jck7devtools}, \ 252 ${my.test.target.set.jck:JCK7TESTRULE=jck7runtime}, \ 253 ${my.test.target.set.jck:JCK7TESTRULE=jck7compiler} 254 255 256############# 257# 258# Hotspot related settings (testset=hotspot) 259# 260 261# The hotspot build flavors 262my.build.flavors.hotspot= \ 263 debugOpen,fastdebug,product,productOpen,optimized,optimizedOpen \ 264 ${my.additional.build.flavors.hotspot} 265 266# Platforms built for hotspot push jobs 267my.build.targets.hotspot= \ 268 solaris_sparcv9_5.11-{product|fastdebug}, \ 269 solaris_x64_5.11-{product|fastdebug}, \ 270 linux_i586_2.6-{product|fastdebug}, \ 271 linux_x64_2.6-{product|fastdebug}, \ 272 macosx_x64_10.9-{product|fastdebug}, \ 273 windows_i586_6.2-{product|fastdebug}, \ 274 windows_x64_6.2-{product|fastdebug}, \ 275 solaris_x64_5.11-{debugOpen}, \ 276 linux_x64_2.6-{productOpen}, \ 277 ${my.additional.build.targets.hotspot} 278 279# Tests to run on the various platforms for hotspot push jobs 280my.test.targets.hotspot.solaris.sparcv9= \ 281 solaris_sparcv9_5.11-{product|fastdebug}-c2-jvm98, \ 282 solaris_sparcv9_5.11-{product|fastdebug}-c2-jvm98_nontiered, \ 283 solaris_sparcv9_5.11-{product|fastdebug}-c2-scimark, \ 284 solaris_sparcv9_5.11-product-c2-runThese8, \ 285 solaris_sparcv9_5.11-{product|fastdebug}-c2-GCBasher_SerialGC, \ 286 solaris_sparcv9_5.11-{product|fastdebug}-c2-GCBasher_ParallelGC, \ 287 solaris_sparcv9_5.11-{product|fastdebug}-c2-GCBasher_CMS, \ 288 solaris_sparcv9_5.11-{product|fastdebug}-c2-GCBasher_G1 289 290my.test.targets.hotspot.solaris.x64= \ 291 solaris_x64_5.11-{product|fastdebug}-c2-jvm98, \ 292 solaris_x64_5.11-{product|fastdebug}-c2-jvm98_nontiered, \ 293 solaris_x64_5.11-{product|fastdebug}-c2-scimark, \ 294 solaris_x64_5.11-product-c2-runThese8, \ 295 solaris_x64_5.11-product-c2-runThese8_Xcomp_lang, \ 296 solaris_x64_5.11-product-c2-runThese8_Xcomp_vm, \ 297 solaris_x64_5.11-{product|fastdebug}-c2-GCBasher_SerialGC, \ 298 solaris_x64_5.11-{product|fastdebug}-c2-GCBasher_ParallelGC, \ 299 solaris_x64_5.11-{product|fastdebug}-c2-GCBasher_CMS, \ 300 solaris_x64_5.11-{product|fastdebug}-c2-GCBasher_G1 301 302my.test.targets.hotspot.linux.i586= \ 303 linux_i586_2.6-{product|fastdebug}-{c1|c2}-jvm98, \ 304 linux_i586_2.6-{product|fastdebug}-c2-jvm98_nontiered, \ 305 linux_i586_2.6-{product|fastdebug}-{c1|c2}-scimark, \ 306 linux_i586_2.6-product-c1-runThese8_Xcomp_lang, \ 307 linux_i586_2.6-product-c1-runThese8_Xcomp_vm, \ 308 linux_i586_2.6-fastdebug-c1-runThese8_Xshare, \ 309 linux_i586_2.6-fastdebug-c2-runThese8_Xcomp_lang, \ 310 linux_i586_2.6-fastdebug-c2-runThese8_Xcomp_vm, \ 311 linux_i586_2.6-{product|fastdebug}-{c1|c2}-GCBasher_SerialGC, \ 312 linux_i586_2.6-{product|fastdebug}-{c1|c2}-GCBasher_ParallelGC, \ 313 linux_i586_2.6-{product|fastdebug}-{c1|c2}-GCBasher_CMS, \ 314 linux_i586_2.6-{product|fastdebug}-{c1|c2}-GCBasher_G1 315 316my.test.targets.hotspot.linux.x64= \ 317 linux_x64_2.6-{product|fastdebug}-c2-jvm98, \ 318 linux_x64_2.6-{product|fastdebug}-c2-jvm98_nontiered, \ 319 linux_x64_2.6-{product|fastdebug}-c2-scimark, \ 320 linux_x64_2.6-{product|fastdebug}-c2-GCBasher_SerialGC, \ 321 linux_x64_2.6-{product|fastdebug}-c2-GCBasher_ParallelGC, \ 322 linux_x64_2.6-{product|fastdebug}-c2-GCBasher_CMS, \ 323 linux_x64_2.6-{product|fastdebug}-c2-GCBasher_G1 324 325my.test.targets.hotspot.macosx.x64= \ 326 macosx_x64_10.9-{product|fastdebug}-c2-jvm98, \ 327 macosx_x64_10.9-{product|fastdebug}-c2-jvm98_nontiered, \ 328 macosx_x64_10.9-{product|fastdebug}-c2-scimark, \ 329 macosx_x64_10.9-{product|fastdebug}-c2-GCBasher_SerialGC, \ 330 macosx_x64_10.9-{product|fastdebug}-c2-GCBasher_ParallelGC, \ 331 macosx_x64_10.9-{product|fastdebug}-c2-GCBasher_CMS, \ 332 macosx_x64_10.9-{product|fastdebug}-c2-GCBasher_G1 333 334my.test.targets.hotspot.windows.i586= \ 335 windows_i586_6.2-{product|fastdebug}-{c1|c2}-jvm98, \ 336 windows_i586_6.2-{product|fastdebug}-c2-jvm98_nontiered, \ 337 windows_i586_6.2-{product|fastdebug}-{c1|c2}-scimark, \ 338 windows_i586_6.2-product-{c1|c2}-runThese8, \ 339 windows_i586_6.2-product-{c1|c2}-runThese8_Xcomp_lang, \ 340 windows_i586_6.2-product-{c1|c2}-runThese8_Xcomp_vm, \ 341 windows_i586_6.2-fastdebug-c1-runThese8_Xshare, \ 342 windows_i586_6.2-{product|fastdebug}-{c1|c2}-GCBasher_SerialGC, \ 343 windows_i586_6.2-{product|fastdebug}-{c1|c2}-GCBasher_ParallelGC, \ 344 windows_i586_6.2-{product|fastdebug}-{c1|c2}-GCBasher_CMS, \ 345 windows_i586_6.2-{product|fastdebug}-{c1|c2}-GCBasher_G1 346 347my.test.targets.hotspot.windows.x64= \ 348 windows_x64_6.2-{product|fastdebug}-c2-jvm98, \ 349 windows_x64_6.2-{product|fastdebug}-c2-jvm98_nontiered, \ 350 windows_x64_6.2-{product|fastdebug}-c2-scimark, \ 351 windows_x64_6.2-product-c2-runThese8, \ 352 windows_x64_6.2-product-c2-runThese8_Xcomp_lang, \ 353 windows_x64_6.2-product-c2-runThese8_Xcomp_vm, \ 354 windows_x64_6.2-{product|fastdebug}-c2-GCBasher_SerialGC, \ 355 windows_x64_6.2-{product|fastdebug}-c2-GCBasher_ParallelGC, \ 356 windows_x64_6.2-{product|fastdebug}-c2-GCBasher_CMS, \ 357 windows_x64_6.2-{product|fastdebug}-c2-GCBasher_G1 358 359# Some basic "smoke" tests for OpenJDK builds 360my.test.targets.hotspot.open= \ 361 solaris_x64_5.11-{productOpen|fastdebugOpen}-c2-jvm98, \ 362 linux_x64_2.6-{productOpen|fastdebugOpen}-c2-jvm98 363 364# The complete list of test targets for jprt 365my.test.targets.hotspot= \ 366 ${my.test.targets.hotspot.open}, \ 367 ${my.test.targets.hotspot.solaris.sparcv9}, \ 368 ${my.test.targets.hotspot.solaris.x64}, \ 369 ${my.test.targets.hotspot.linux.i586}, \ 370 ${my.test.targets.hotspot.linux.x64}, \ 371 ${my.test.targets.hotspot.macosx.x64}, \ 372 ${my.test.targets.hotspot.windows.i586}, \ 373 ${my.test.targets.hotspot.windows.x64}, \ 374 ${my.test.targets.hotspot.solaris.sparcv9}, \ 375 ${my.test.targets.hotspot.solaris.x64}, \ 376 ${my.test.targets.hotspot.linux.x64}, \ 377 ${my.test.targets.hotspot.windows.i586}, \ 378 ${my.test.targets.hotspot.windows.x64}, \ 379 ${my.additional.test.targets.hotspot} 380 381 382# Make file based test targets 383 384my.make.rule.test.targets.hotspot.basicvmtests= \ 385 linux_i586_2.6-*-default-hotspot_basicvmtest, \ 386 linux_x64_2.6-*-default-hotspot_basicvmtest, \ 387 macosx_x64_10.9-*-default-hotspot_basicvmtest, \ 388 solaris_sparcv9_5.11-*-default-hotspot_basicvmtest, \ 389 solaris_x64_5.11-*-default-hotspot_basicvmtest, \ 390 windows_i586_6.2-*-default-hotspot_basicvmtest, \ 391 windows_x64_6.2-*-default-hotspot_basicvmtest 392 393my.make.rule.test.targets.hotspot.reg.group= \ 394 solaris_sparcv9_5.11-fastdebug-c2-GROUP, \ 395 solaris_x64_5.11-fastdebug-c2-GROUP, \ 396 linux_i586_2.6-fastdebug-c2-GROUP, \ 397 linux_x64_2.6-fastdebug-c2-GROUP, \ 398 macosx_x64_10.9-fastdebug-c2-GROUP, \ 399 windows_i586_6.2-fastdebug-c2-GROUP, \ 400 windows_x64_6.2-fastdebug-c2-GROUP, \ 401 linux_i586_2.6-fastdebug-c1-GROUP, \ 402 windows_i586_6.2-fastdebug-c1-GROUP 403 404# Hotspot jtreg tests 405my.make.rule.test.targets.hotspot.reg= \ 406 ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_compiler_1}, \ 407 ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_compiler_2}, \ 408 ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_compiler_3}, \ 409 ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_compiler_closed}, \ 410 ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_gc}, \ 411 ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_gc_closed}, \ 412 ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_gc_gcold}, \ 413 ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_runtime}, \ 414 ${my.make.rule.test.targets.hotspot.reg.group:GROUP=hotspot_serviceability}, \ 415 ${my.make.rule.test.targets.hotspot.reg.group:GROUP=jdk_svc_sanity}, \ 416 ${my.additional.make.rule.test.targets.hotspot.reg} 417 418# Other Makefile based Hotspot tests 419my.make.rule.test.targets.hotspot.other= \ 420 ${my.make.rule.test.targets.hotspot.basicvmtests}, \ 421 ${my.additional.make.rule.test.targets.hotspot.other} 422 423# All the makefile based tests to run 424my.make.rule.test.targets.hotspot= \ 425 ${my.make.rule.test.targets.hotspot.reg} \ 426 ${my.make.rule.test.targets.hotspot.other} 427 428# Install the test bundle for the testset hotspot jtreg tests 429# (but not for the other Makefile based tests) 430my.jprt.test.bundle.targets.hotspot=${my.make.rule.test.targets.hotspot.reg} 431 432# Native jdk and hotspot test targets (testset=nativesanity) 433my.make.rule.test.targets.nativesanity= \ 434 ${my.test.target.set:TESTNAME=jdk_native_sanity}, \ 435 ${my.test.target.set:TESTNAME=hotspot_native_sanity} 436 437# Install the test bundle for the nativesanity jtreg tests 438my.jprt.test.bundle.targets.nativesanity=${my.make.rule.test.targets.nativesanity} 439