Skip to content

Commit c070735

Browse files
Correct jck stage material checkout when target jck root not the same as the repo folder (#4224)
* Correct jck stage material checkout when target jck root not the same as the repo folder Signed-off-by: Andrew Leonard <[email protected]> * Correct jck stage material checkout when target jck root not the same as the repo folder Signed-off-by: Andrew Leonard <[email protected]> Signed-off-by: Andrew Leonard <[email protected]>
1 parent 8a4c3b9 commit c070735

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

jck/build.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
<arg value="-b"/>
135135
<arg value="${jck_branch}"/>
136136
<arg value="${JCK_GIT_REPO_USED}" />
137+
<arg value="${JCK_ROOT_USED}" />
137138
</exec>
138139
</then>
139140
<!-- jck materials exist, update jck materials if needed-->

jck/jtrunner/JavaTestRunner.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ public static boolean generateJTB() throws Exception {
223223
if (!jckVersion.equals(actualJckVersion)) {
224224
System.out.println("test-args jckversion " + jckVersion + " does not match actual jckversion " + actualJckVersion + ". Using actual jckversion " + actualJckVersion);
225225
jckVersion = actualJckVersion;
226+
jckVersionNo = jckVersion.replace("jck", "");
226227
}
227228
}
228229
}

0 commit comments

Comments
 (0)