mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 18:03:44 +00:00
8144677: jprt.properties should allow creating a user specified testset with custom build flavors and build targets
Made setting jprt.build.flavors and jprt.build.targets more flexible Reviewed-by: dholmes, mikael
This commit is contained in:
parent
e469a43b3e
commit
0258eeaf71
@ -69,9 +69,20 @@ jprt.fastdebugOpen.build.configure.args=${jprt.fastdebug.build.configure.args} -
|
||||
jprt.productOpen.build.configure.args=${jprt.product.build.configure.args} --enable-openjdk-only
|
||||
jprt.optimizedOpen.build.configure.args=${jprt.product.build.configure.args} --enable-openjdk-only
|
||||
|
||||
# Select build flavors and build targets
|
||||
jprt.build.flavors=${my.is.hotspot.job ? ${my.build.flavors.hotspot} : ${my.build.flavors.default}}
|
||||
jprt.build.targets=${my.is.hotspot.job ? ${my.build.targets.hotspot} : ${my.build.targets.default}}
|
||||
|
||||
# hotspot testset has custom build flavors and build targets
|
||||
my.jprt.testsetHasCustomBuildFlavors.hotspot=true
|
||||
my.jprt.testsetHasCustomBuildTargets.hotspot=true
|
||||
|
||||
# determine if the specified testset has custom build flavors or build targets
|
||||
my.jprt.testsetHasCustomBuildFlavors=${my.jprt.testsetHasCustomBuildFlavors.${jprt.test.set}}
|
||||
my.jprt.testsetHasCustomBuildTargets=${my.jprt.testsetHasCustomBuildTargets.${jprt.test.set}}
|
||||
|
||||
# Select build flavors and build targets based on the specified testset
|
||||
jprt.build.flavors=${my.jprt.testsetHasCustomBuildFlavors ? \
|
||||
${my.build.flavors.${jprt.test.set}} : ${my.build.flavors.default}}
|
||||
jprt.build.targets=${my.jprt.testsetHasCustomBuildTargets ? \
|
||||
${my.build.targets.${jprt.test.set}} : ${my.build.targets.default}}
|
||||
|
||||
# Select test targets - jprt default for jprt.test.set is "default"
|
||||
jprt.test.targets=${my.test.targets.${jprt.test.set}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user