Skip to content

Commit

Permalink
Updated usage of SKIP_JCK_GIT_UPDATE so it needs to be true, not just…
Browse files Browse the repository at this point in the history
… set
  • Loading branch information
judovana committed Nov 14, 2024
1 parent 3b4abd2 commit ac9fe9a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions jck/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@
<available file="${JCK_ROOT_USED}" type="dir" />
<then>
<if>
<isset property="env.SKIP_JCK_GIT_UPDATE" />
<equal arg1="{env.SKIP_JCK_GIT_UPDATE}" arg2="true">
<then>
<echo message="env.SKIP_JCK_GIT_UPDATE is set. Skip Running git checks at ${JCK_ROOT_USED}. Continue." />
<echo message="env.SKIP_JCK_GIT_UPDATE is set to true. Skip Running git checks at ${JCK_ROOT_USED}. Continue." />
</then>
<else>
<!--Obtain local and remote SHA to figure out if local materials are up-to-date-->
Expand Down Expand Up @@ -188,7 +188,7 @@
<isset property="env.SKIP_JCK_GIT_UPDATE" />
<!-- don't want to update local JCK materials -->
<then>
<echo message="env.SKIP_JCK_GIT_UPDATE is set. Skip Running git update at ${JCK_ROOT_USED}. Continue." />
<echo message="env.SKIP_JCK_GIT_UPDATE is set to true. Skip Running git update at ${JCK_ROOT_USED}. Continue." />
</then>
<else>
<if>
Expand Down Expand Up @@ -320,9 +320,9 @@

<target name="build">
<if>
<isset property="env.SKIP_JCK_GIT_UPDATE" />
<equal arg1="{env.SKIP_JCK_GIT_UPDATE}" arg2="true">
<then>
<echo message="=== env.SKIP_JCK_GIT_UPDATE set, not enforcing existence of env.JCK_GIT_REPO ===" />
<echo message="=== SKIP_JCK_GIT_UPDATE set to true, not enforcing existence of env.JCK_GIT_REPO ===" />
</then>
<else>
<fail message="env.JCK_GIT_REPO: ${env.JCK_GIT_REPO} was not correctly set for running JCK tests. If you do not want to compile JCK tests,
Expand Down

0 comments on commit ac9fe9a

Please sign in to comment.