157
158 # hotspot testset has custom build flavors and build targets
159 my.jprt.testsetHasCustomBuildFlavors.hotspot=true
160 my.jprt.testsetHasCustomBuildTargets.hotspot=true
161 my.jprt.testsetHasCustomBuildFlavors.buildinfra=true
162 my.jprt.testsetHasCustomBuildTargets.buildinfra=true
163
164 # determine if the specified testset has custom build flavors or build targets
165 my.jprt.testsetHasCustomBuildFlavors=${my.jprt.testsetHasCustomBuildFlavors.${jprt.test.set}}
166 my.jprt.testsetHasCustomBuildTargets=${my.jprt.testsetHasCustomBuildTargets.${jprt.test.set}}
167
168 # Select build flavors and build targets based on the specified testset
169 jprt.build.flavors=${my.jprt.testsetHasCustomBuildFlavors ? \
170 ${my.build.flavors.${jprt.test.set}} : ${my.build.flavors.default}}
171 jprt.build.targets=${my.jprt.testsetHasCustomBuildTargets ? \
172 ${my.build.targets.${jprt.test.set}} : ${my.build.targets.default}}
173
174 # Select test targets - jprt default for jprt.test.set is "default"
175 jprt.test.targets=${my.test.targets.${jprt.test.set}}
176 jprt.make.rule.test.targets=${my.make.rule.test.targets.${jprt.test.set}}
177 jprt.test.bundle.targets=${my.jprt.test.bundle.targets.${jprt.test.set}}
178
179 # 7155453: Work-around to prevent popups on OSX from blocking test completion
180 # but the work-around is added to all platforms to be consistent
181 jprt.jbb.options=-Djava.awt.headless=true
182
183 ########
184 #
185 # Build options (generic)
186 #
187
188 # Configure args common to all builds
189 # Also allows for additional, testset specific configure arguments to be set
190 jprt.build.configure.args= \
191 --with-output-sync=recurse \
192 --with-jobs=$ALT_PARALLEL_COMPILE_JOBS \
193 --with-version-opt=$JPRT_JOB_ID \
194 ${my.additional.build.configure.args.${jprt.test.set}} \
195 ${my.custom.build.configure.args}
196
197 ########
456 solaris_sparcv9_5.11-product-c2-hotspot_tier1_gc_gcbasher, \
457 solaris_x64_5.11-product-c2-hotspot_tier1_gc_gcbasher, \
458 linux_i586_3.8-product-c2-hotspot_tier1_gc_gcbasher, \
459 linux_x64_3.8-product-c2-hotspot_tier1_gc_gcbasher, \
460 macosx_x64_10.9-product-c2-hotspot_tier1_gc_gcbasher, \
461 windows_i586_6.3-product-c2-hotspot_tier1_gc_gcbasher, \
462 windows_x64_6.3-product-c2-hotspot_tier1_gc_gcbasher, \
463 ${my.additional.make.rule.test.targets.hotspot.reg}
464
465 # Other Makefile based Hotspot tests
466 my.make.rule.test.targets.hotspot.other= \
467 ${my.make.rule.test.targets.hotspot.basicvmtests}, \
468 ${my.make.rule.test.targets.hotspot.gtest}, \
469 ${my.additional.make.rule.test.targets.hotspot.other}
470
471 # All the makefile based tests to run
472 my.make.rule.test.targets.hotspot= \
473 ${my.make.rule.test.targets.hotspot.reg} \
474 ${my.make.rule.test.targets.hotspot.other}
475
476 # Install the test bundle for the testset hotspot jtreg tests
477 # (but not for the other Makefile based tests)
478 my.jprt.test.bundle.targets.hotspot= \
479 ${my.make.rule.test.targets.hotspot.reg}, \
480 ${my.make.rule.test.targets.hotspot.gtest}
481
482 # Native jdk and hotspot test targets (testset=nativesanity)
483 my.make.rule.test.targets.nativesanity= \
484 ${my.test.target.set:TESTNAME=jdk_native_sanity}, \
485 ${my.test.target.set:TESTNAME=hotspot_native_sanity}
486
487 # Install the test bundle for the nativesanity jtreg tests
488 my.jprt.test.bundle.targets.nativesanity=${my.make.rule.test.targets.nativesanity}
489
490 ################################################################################
491 # Testset buildinfra
492 my.build.flavors.buildinfra = \
493 product,fastdebug,slowdebug,productZero,fastdebugZero \
494 ${my.additional.build.flavors.buildinfra}
495
496 # Platforms built for hotspot push jobs
497 my.build.targets.buildinfra = \
498 solaris_sparcv9_5.11-{product|fastdebug|slowdebug}, \
499 solaris_x64_5.11-{product|fastdebug|slowdebug}, \
500 linux_i586_3.8-{product|fastdebug|slowdebug|productZero|fastdebugZero}, \
501 linux_x64_3.8-{product|fastdebug|slowdebug|productZero|fastdebugZero}, \
502 macosx_x64_10.9-{product|fastdebug|slowdebug}, \
503 windows_i586_6.3-{product|fastdebug|slowdebug}, \
504 windows_x64_6.3-{product|fastdebug|slowdebug}, \
505 ${my.additional.build.targets.buildinfra}
506
507 my.test.targets.buildinfra = \
508 ${my.test.targets.default}, \
|
157
158 # hotspot testset has custom build flavors and build targets
159 my.jprt.testsetHasCustomBuildFlavors.hotspot=true
160 my.jprt.testsetHasCustomBuildTargets.hotspot=true
161 my.jprt.testsetHasCustomBuildFlavors.buildinfra=true
162 my.jprt.testsetHasCustomBuildTargets.buildinfra=true
163
164 # determine if the specified testset has custom build flavors or build targets
165 my.jprt.testsetHasCustomBuildFlavors=${my.jprt.testsetHasCustomBuildFlavors.${jprt.test.set}}
166 my.jprt.testsetHasCustomBuildTargets=${my.jprt.testsetHasCustomBuildTargets.${jprt.test.set}}
167
168 # Select build flavors and build targets based on the specified testset
169 jprt.build.flavors=${my.jprt.testsetHasCustomBuildFlavors ? \
170 ${my.build.flavors.${jprt.test.set}} : ${my.build.flavors.default}}
171 jprt.build.targets=${my.jprt.testsetHasCustomBuildTargets ? \
172 ${my.build.targets.${jprt.test.set}} : ${my.build.targets.default}}
173
174 # Select test targets - jprt default for jprt.test.set is "default"
175 jprt.test.targets=${my.test.targets.${jprt.test.set}}
176 jprt.make.rule.test.targets=${my.make.rule.test.targets.${jprt.test.set}}
177
178 # Not all test targets need the test image
179 jprt.test.bundle.targets=\
180 ${my.make.rule.test.targets.hotspot.reg}, \
181 ${my.make.rule.test.targets.hotspot.gtest} \
182 ${my.make.rule.test.targets.nativesanity} \
183 ${my.test.target.set:TESTNAME=jdk_lang}
184
185 # 7155453: Work-around to prevent popups on OSX from blocking test completion
186 # but the work-around is added to all platforms to be consistent
187 jprt.jbb.options=-Djava.awt.headless=true
188
189 ########
190 #
191 # Build options (generic)
192 #
193
194 # Configure args common to all builds
195 # Also allows for additional, testset specific configure arguments to be set
196 jprt.build.configure.args= \
197 --with-output-sync=recurse \
198 --with-jobs=$ALT_PARALLEL_COMPILE_JOBS \
199 --with-version-opt=$JPRT_JOB_ID \
200 ${my.additional.build.configure.args.${jprt.test.set}} \
201 ${my.custom.build.configure.args}
202
203 ########
462 solaris_sparcv9_5.11-product-c2-hotspot_tier1_gc_gcbasher, \
463 solaris_x64_5.11-product-c2-hotspot_tier1_gc_gcbasher, \
464 linux_i586_3.8-product-c2-hotspot_tier1_gc_gcbasher, \
465 linux_x64_3.8-product-c2-hotspot_tier1_gc_gcbasher, \
466 macosx_x64_10.9-product-c2-hotspot_tier1_gc_gcbasher, \
467 windows_i586_6.3-product-c2-hotspot_tier1_gc_gcbasher, \
468 windows_x64_6.3-product-c2-hotspot_tier1_gc_gcbasher, \
469 ${my.additional.make.rule.test.targets.hotspot.reg}
470
471 # Other Makefile based Hotspot tests
472 my.make.rule.test.targets.hotspot.other= \
473 ${my.make.rule.test.targets.hotspot.basicvmtests}, \
474 ${my.make.rule.test.targets.hotspot.gtest}, \
475 ${my.additional.make.rule.test.targets.hotspot.other}
476
477 # All the makefile based tests to run
478 my.make.rule.test.targets.hotspot= \
479 ${my.make.rule.test.targets.hotspot.reg} \
480 ${my.make.rule.test.targets.hotspot.other}
481
482 # Native jdk and hotspot test targets (testset=nativesanity)
483 my.make.rule.test.targets.nativesanity= \
484 ${my.test.target.set:TESTNAME=jdk_native_sanity}, \
485 ${my.test.target.set:TESTNAME=hotspot_native_sanity}
486
487 ################################################################################
488 # Testset buildinfra
489 my.build.flavors.buildinfra = \
490 product,fastdebug,slowdebug,productZero,fastdebugZero \
491 ${my.additional.build.flavors.buildinfra}
492
493 # Platforms built for hotspot push jobs
494 my.build.targets.buildinfra = \
495 solaris_sparcv9_5.11-{product|fastdebug|slowdebug}, \
496 solaris_x64_5.11-{product|fastdebug|slowdebug}, \
497 linux_i586_3.8-{product|fastdebug|slowdebug|productZero|fastdebugZero}, \
498 linux_x64_3.8-{product|fastdebug|slowdebug|productZero|fastdebugZero}, \
499 macosx_x64_10.9-{product|fastdebug|slowdebug}, \
500 windows_i586_6.3-{product|fastdebug|slowdebug}, \
501 windows_x64_6.3-{product|fastdebug|slowdebug}, \
502 ${my.additional.build.targets.buildinfra}
503
504 my.test.targets.buildinfra = \
505 ${my.test.targets.default}, \
|