J. Duke | 686d76f | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 1 | # |
Tim Bell | 06564ac | 2013-09-25 12:21:35 -0700 | [diff] [blame] | 2 | # Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved. |
J. Duke | 686d76f | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 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 |
Kelly O'Hair | 136614e | 2010-05-25 15:51:26 -0700 | [diff] [blame] | 7 | # published by the Free Software Foundation. Oracle designates this |
J. Duke | 686d76f | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 8 | # particular file as subject to the "Classpath" exception as provided |
Kelly O'Hair | 136614e | 2010-05-25 15:51:26 -0700 | [diff] [blame] | 9 | # by Oracle in the LICENSE file that accompanied this code. |
J. Duke | 686d76f | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 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 | # |
Kelly O'Hair | 136614e | 2010-05-25 15:51:26 -0700 | [diff] [blame] | 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. |
J. Duke | 686d76f | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 24 | # |
| 25 | |
| 26 | # Properties for jprt |
J. Duke | 686d76f | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 27 | |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 28 | # Locked down to jdk8 |
Kelly O'Hair | 5ed600c | 2011-07-22 17:35:54 -0700 | [diff] [blame] | 29 | jprt.tools.default.release=jdk8 |
J. Duke | 686d76f | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 30 | |
Kelly O'Hair | ec348ed | 2013-01-04 21:04:03 -0800 | [diff] [blame] | 31 | # Unix toolkit to use for building on windows |
| 32 | jprt.windows.jdk8.build.unix.toolkit=cygwin |
| 33 | |
Kelly O'Hair | 68ba7cf | 2010-09-07 15:13:58 -0700 | [diff] [blame] | 34 | # The different build flavors we want, we override here so we just get these 2 |
J. Duke | 686d76f | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 35 | jprt.build.flavors=product,fastdebug |
J. Duke | 686d76f | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 36 | |
Kelly O'Hair | 4e0aea2 | 2010-09-24 14:04:01 -0700 | [diff] [blame] | 37 | # Standard list of jprt build targets for this source tree |
| 38 | jprt.build.targets= \ |
Kelly O'Hair | 4e0aea2 | 2010-09-24 14:04:01 -0700 | [diff] [blame] | 39 | solaris_sparcv9_5.10-{product|fastdebug}, \ |
Kelly O'Hair | 4e0aea2 | 2010-09-24 14:04:01 -0700 | [diff] [blame] | 40 | solaris_x64_5.10-{product|fastdebug}, \ |
| 41 | linux_i586_2.6-{product|fastdebug}, \ |
| 42 | linux_x64_2.6-{product|fastdebug}, \ |
Alan Bateman | ec8aa63 | 2012-03-06 20:25:18 +0000 | [diff] [blame] | 43 | macosx_x64_10.7-{product|fastdebug}, \ |
Tim Bell | 06564ac | 2013-09-25 12:21:35 -0700 | [diff] [blame] | 44 | windows_i586_6.1-{product|fastdebug}, \ |
| 45 | windows_x64_6.1-{product|fastdebug} |
Kelly O'Hair | 891aa6b | 2010-03-06 15:00:40 -0800 | [diff] [blame] | 46 | |
Kelly O'Hair | 4e0aea2 | 2010-09-24 14:04:01 -0700 | [diff] [blame] | 47 | # User can select the test set with jprt submit "-testset name" option |
| 48 | jprt.my.test.set=${jprt.test.set} |
| 49 | |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 50 | # Test target list (no fastdebug & limited c2 testing) |
| 51 | jprt.my.test.target.set= \ |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 52 | solaris_sparcv9_5.10-product-c2-TESTNAME, \ |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 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, \ |
Alan Bateman | ec8aa63 | 2012-03-06 20:25:18 +0000 | [diff] [blame] | 56 | macosx_x64_10.7-product-c2-TESTNAME, \ |
Tim Bell | 06564ac | 2013-09-25 12:21:35 -0700 | [diff] [blame] | 57 | windows_i586_6.1-product-c1-TESTNAME, \ |
| 58 | windows_x64_6.1-product-c2-TESTNAME |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 59 | |
| 60 | # Default vm test targets (testset=default) |
Kelly O'Hair | 4e0aea2 | 2010-09-24 14:04:01 -0700 | [diff] [blame] | 61 | jprt.vm.default.test.targets= \ |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 62 | ${jprt.my.test.target.set:TESTNAME=jvm98}, \ |
| 63 | ${jprt.my.test.target.set:TESTNAME=scimark} |
Kelly O'Hair | 4e0aea2 | 2010-09-24 14:04:01 -0700 | [diff] [blame] | 64 | |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 65 | # Default jdk test targets (testset=default) |
Kelly O'Hair | 4e0aea2 | 2010-09-24 14:04:01 -0700 | [diff] [blame] | 66 | jprt.make.rule.default.test.targets= \ |
Alan Bateman | c72c2be | 2012-01-24 09:08:43 +0000 | [diff] [blame] | 67 | ${jprt.my.test.target.set:TESTNAME=langtools_jtreg}, \ |
| 68 | ${jprt.my.test.target.set:TESTNAME=jdk_lang}, \ |
Alan Bateman | e0fbec8 | 2013-11-19 14:11:59 +0000 | [diff] [blame] | 69 | ${jprt.my.test.target.set:TESTNAME=jdk_math}, \ |
| 70 | ${jprt.my.test.target.set:TESTNAME=jdk_util} |
| 71 | |
Alan Bateman | c72c2be | 2012-01-24 09:08:43 +0000 | [diff] [blame] | 72 | |
| 73 | # Default vm test targets (testset=core) |
Alan Bateman | e0fbec8 | 2013-11-19 14:11:59 +0000 | [diff] [blame] | 74 | jprt.vm.core.test.targets= |
Alan Bateman | c72c2be | 2012-01-24 09:08:43 +0000 | [diff] [blame] | 75 | |
| 76 | # Core jdk test targets (testset=core) |
| 77 | jprt.make.rule.core.test.targets= \ |
Alan Bateman | e0fbec8 | 2013-11-19 14:11:59 +0000 | [diff] [blame] | 78 | ${jprt.my.test.target.set:TESTNAME=jdk_lang}, \ |
| 79 | ${jprt.my.test.target.set:TESTNAME=jdk_math}, \ |
Alan Bateman | c72c2be | 2012-01-24 09:08:43 +0000 | [diff] [blame] | 80 | ${jprt.my.test.target.set:TESTNAME=jdk_util}, \ |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 81 | ${jprt.my.test.target.set:TESTNAME=jdk_io}, \ |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 82 | ${jprt.my.test.target.set:TESTNAME=jdk_net}, \ |
Alan Bateman | b807a9b | 2012-10-09 13:25:27 +0100 | [diff] [blame] | 83 | ${jprt.my.test.target.set:TESTNAME=jdk_nio}, \ |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 84 | ${jprt.my.test.target.set:TESTNAME=jdk_security1}, \ |
Alan Bateman | c72c2be | 2012-01-24 09:08:43 +0000 | [diff] [blame] | 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}, \ |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 88 | ${jprt.my.test.target.set:TESTNAME=jdk_text}, \ |
Stephen Colebourne | 4b926cf | 2013-01-22 21:02:06 -0800 | [diff] [blame] | 89 | ${jprt.my.test.target.set:TESTNAME=jdk_time}, \ |
Alan Bateman | e0fbec8 | 2013-11-19 14:11:59 +0000 | [diff] [blame] | 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) |
| 94 | jprt.vm.svc.test.targets= |
| 95 | |
| 96 | # Core jdk test targets (testset=svc) |
| 97 | 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} |
Kelly O'Hair | 4e0aea2 | 2010-09-24 14:04:01 -0700 | [diff] [blame] | 104 | |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 105 | # All vm test targets (testset=all) |
Kelly O'Hair | 4e0aea2 | 2010-09-24 14:04:01 -0700 | [diff] [blame] | 106 | jprt.vm.all.test.targets= \ |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 107 | ${jprt.vm.default.test.targets}, \ |
| 108 | ${jprt.my.test.target.set:TESTNAME=runThese}, \ |
| 109 | ${jprt.my.test.target.set:TESTNAME=jbb_default} |
Kelly O'Hair | 4e0aea2 | 2010-09-24 14:04:01 -0700 | [diff] [blame] | 110 | |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 111 | # All jdk test targets (testset=all) |
Kelly O'Hair | 4e0aea2 | 2010-09-24 14:04:01 -0700 | [diff] [blame] | 112 | jprt.make.rule.all.test.targets= \ |
Alan Bateman | c72c2be | 2012-01-24 09:08:43 +0000 | [diff] [blame] | 113 | ${jprt.make.rule.core.test.targets}, \ |
Alan Bateman | e0fbec8 | 2013-11-19 14:11:59 +0000 | [diff] [blame] | 114 | ${jprt.make.rule.svc.test.targets}, \ |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 115 | ${jprt.my.test.target.set:TESTNAME=jdk_awt}, \ |
Alan Bateman | c72c2be | 2012-01-24 09:08:43 +0000 | [diff] [blame] | 116 | ${jprt.my.test.target.set:TESTNAME=jdk_beans1}, \ |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 117 | ${jprt.my.test.target.set:TESTNAME=jdk_beans2}, \ |
| 118 | ${jprt.my.test.target.set:TESTNAME=jdk_beans3}, \ |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 119 | ${jprt.my.test.target.set:TESTNAME=jdk_sound}, \ |
Alan Bateman | c72c2be | 2012-01-24 09:08:43 +0000 | [diff] [blame] | 120 | ${jprt.my.test.target.set:TESTNAME=jdk_swing} |
Kelly O'Hair | 4e0aea2 | 2010-09-24 14:04:01 -0700 | [diff] [blame] | 121 | |
Alan Bateman | e0fbec8 | 2013-11-19 14:11:59 +0000 | [diff] [blame] | 122 | # PIT vm test targets (testset=pit) |
| 123 | jprt.vm.pit.test.targets= \ |
| 124 | ${jprt.vm.all.test.targets} |
| 125 | |
| 126 | # PIT jdk test targets (testset=pit) |
| 127 | jprt.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'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 132 | # JCK test targets in test/Makefile (no windows) |
Kelly O'Hair | b115ff4 | 2011-03-22 11:07:40 -0700 | [diff] [blame] | 133 | jprt.my.jck.test.target.set= \ |
Kelly O'Hair | b115ff4 | 2011-03-22 11:07:40 -0700 | [diff] [blame] | 134 | solaris_sparcv9_5.10-product-c2-JCK7TESTRULE, \ |
Kelly O'Hair | b115ff4 | 2011-03-22 11:07:40 -0700 | [diff] [blame] | 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 ... ) |
| 140 | jprt.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'Hair | 4e0aea2 | 2010-09-24 14:04:01 -0700 | [diff] [blame] | 145 | # Select list to use (allow for testset to be empty too) |
Kelly O'Hair | c0323a8 | 2011-12-12 08:11:05 -0800 | [diff] [blame] | 146 | jprt.make.rule..test.targets=${jprt.make.rule.default.test.targets} |
| 147 | jprt.make.rule.test.targets=${jprt.make.rule.${jprt.my.test.set}.test.targets} |
| 148 | jprt.vm..test.targets=${jprt.vm.default.test.targets} |
| 149 | jprt.test.targets=${jprt.vm.${jprt.my.test.set}.test.targets} |
Kelly O'Hair | 891aa6b | 2010-03-06 15:00:40 -0800 | [diff] [blame] | 150 | |
Kelly O'Hair | 68ba7cf | 2010-09-07 15:13:58 -0700 | [diff] [blame] | 151 | # Directories to be excluded from the source bundles |
Kelly O'Hair | 891aa6b | 2010-03-06 15:00:40 -0800 | [diff] [blame] | 152 | jprt.bundle.exclude.src.dirs=build dist webrev |
J. Duke | 686d76f | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 153 | |
Erik Joelsson | d9706a0 | 2013-12-17 11:09:26 +0100 | [diff] [blame^] | 154 | # Instruct jprt to use configure when building |
| 155 | jprt.build.use.configure=true |
| 156 | jprt.build.flavor.product.target=jprt_bundle |
| 157 | jprt.build.flavor.fastdebug.target=jprt_bundle |
| 158 | jprt.build.flavor.debug.target=jprt_bundle |
| 159 | |
| 160 | # Add these configure args to all builds |
| 161 | jprt.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 |
| 166 | jprt.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. |
| 171 | jprt.product.build.configure.args=--with-debug-level=release |
| 172 | jprt.fastdebug.build.configure.args=--with-debug-level=fastdebug |
| 173 | jprt.debug.build.configure.args=--with-debug-level=slowdebug |