Skip to content

Commit

Permalink
Allow user to set DYNAMIC_COMPILE
Browse files Browse the repository at this point in the history
related: eclipse-openj9/openj9#20004

Signed-off-by: Lan Xia <[email protected]>
  • Loading branch information
llxia authored and pshipton committed Aug 20, 2024
1 parent b67ec4a commit 8e050c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buildenv/jenkins/testJobTemplate
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ if (!binding.hasVariable('RERUN_ITERATIONS')) RERUN_ITERATIONS = "0"
if (!binding.hasVariable('JENKINS_KEY')) JENKINS_KEY = ""
if (!binding.hasVariable('RELATED_NODES')) RELATED_NODES = ""
if (!binding.hasVariable('ADDITIONAL_ARTIFACTS_REQUIRED')) ADDITIONAL_ARTIFACTS_REQUIRED = ""
if (!binding.hasVariable('DYNAMIC_COMPILE')) DYNAMIC_COMPILE = false

if (!binding.hasVariable('BUILDS_TO_KEEP')) {
BUILDS_TO_KEEP = 10
Expand Down Expand Up @@ -347,7 +348,7 @@ ARCH_OS_LIST.each { ARCH_OS ->
sectionHeaderStyle(sectionHeaderHelpTextStyleCss)
}
stringParam('BUILD_LIST', "${ACTUAL_BUILD_LIST}", '''Specific test directories to compile. This can be a comma-separated list of directories. <br/>Advisable to specify to a granularity that suits the targets you want to run. BUILD_LIST value can be the following:<br/>top level folder: openjdk|system|perf|jck|external|functional<br/>sub-folder: functional/Java8andUp|perf/dacapo<br/>multiple folders: system,functional<br/>''')
booleanParam('DYNAMIC_COMPILE', false, '''WIP. It only works with functional tests atm. <br/>
booleanParam('DYNAMIC_COMPILE', DYNAMIC_COMPILE.toBoolean(), '''WIP. It only works with functional tests atm. <br/>
Optional. Use DYNAMIC_COMPILE to automatically compile the required test material.<br/>
When DYNAMIC_COMPILE is on: <br/>
- if there is no BUILD_LIST input, DYNAMIC_COMPILE will automatically figure out which test material to compile based on the test target.<br/>
Expand Down

0 comments on commit 8e050c2

Please sign in to comment.