Skip to content

Commit

Permalink
Remove maketest.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Mesbah_Alam@ca.ibm.com <Mesbah_Alam@ca.ibm.com>
  • Loading branch information
Mesbah-Alam committed Feb 17, 2021
1 parent 48c08f2 commit 54d5c18
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 37 deletions.
11 changes: 7 additions & 4 deletions buildenv/jenkins/JenkinsfileBase
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ def getBuildList() {

def makeTest(testParam) {
String tearDownCmd = "if [ `uname` = AIX ] || [ `uname` = SunOS ]; then MAKE=gmake; else MAKE=make; fi; \$MAKE -f ./openjdk-tests/TKG/testEnv.mk testEnvTeardown"
String makeTestCmd = "if [ `uname` = AIX ] || [ `uname` = SunOS ] || [ `uname` = *BSD ]; then MAKE=gmake; else MAKE=make; fi; cd ./openjdk-tests/TKG; \$MAKE $testParam"

try {
sh "$tearDownCmd"
sh "./openjdk-tests/maketest.sh $testParam"
sh "$makeTestCmd"
} finally {
sh "$tearDownCmd"
}
Expand Down Expand Up @@ -474,13 +476,14 @@ def get_sources() {
}

def make_test() {
String makeTestCmd = "if [ `uname` = AIX ] || [ `uname` = SunOS ] || [ `uname` = *BSD ]; then MAKE=gmake; else MAKE=make; fi; cd ./openjdk-tests/TKG; \$MAKE compile"
// use sshagent with Jenkins credentials ID for all platforms except zOS
if (!env.SPEC.startsWith('zos')) {
sshagent (credentials: ["$params.SSH_AGENT_CREDENTIAL"], ignoreMissing: true) {
sh "./openjdk-tests/maketest.sh ./openjdk-tests";
sh "$makeTestCmd";
}
} else {
sh "./openjdk-tests/maketest.sh ./openjdk-tests";
sh "$makeTestCmd";
}
}

Expand Down Expand Up @@ -570,7 +573,7 @@ def runTest( ) {
sh "iconv -f iso8859-1 -t ibm-1047 ${parallelList} > ${parallelList}.ebcdic; rm ${parallelList}; mv ${parallelList}.ebcdic ${parallelList}"
}
}
RUNTEST_CMD = "./openjdk-tests ${TARGET} ${CUSTOM_OPTION}"
RUNTEST_CMD = "${TARGET} ${CUSTOM_OPTION}"
for (int i = 1; i <= ITERATIONS; i++) {
echo "ITERATION: ${i}/${ITERATIONS}"
if (env.SPEC.startsWith('aix')) {
Expand Down
5 changes: 3 additions & 2 deletions doc/userGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,9 @@ $ export BUILD_ROOT=$TOP_DIR/test-results
$ export JRE_IMAGE=$OPENJDK_BUILD/../j2re-image
$ export TEST_JDK_HOME=$OPENJDK_BUILD
$ ./get.sh -t $TEST_DIR
$ ./maketest.sh $TEST_DIR
$ OPENJDK_DIR=$OPENJDK_SOURCES ./maketest.sh $TEST_DIR _sanity.openjdk
$ cd ./TKG
$ make compile
$ make _sanity.openjdk
$ popd
$ echo "openjdk-tests located at $tmpdir/openjdk-tests"
Expand Down
31 changes: 0 additions & 31 deletions maketest.sh

This file was deleted.

0 comments on commit 54d5c18

Please sign in to comment.