Change subject: tests: Fix dir paths for jenkins script running on GCP ...................................................................... tests: Fix dir paths for jenkins script running on GCP Change-Id: I0a76c6963618b40a23963740ac701a2e3aab5efe --- M tests/jenkins/continuous.sh M tests/jenkins/presubmit.sh 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/jenkins/continuous.sh b/tests/jenkins/continuous.sh index 2f86cd3..7e34a3c 100755 --- a/tests/jenkins/continuous.sh +++ b/tests/jenkins/continuous.sh @@ -44,6 +44,8 @@ libprotoc-dev libssl-dev m4 parallel pigz protobuf-compiler python \ python-pip scons subversion swig zlib1g-dev +pushd git/jenkins-gem5-prod + BUILD_JOBS=4 GEM5_ARCH="ALPHA ARM MIPS NULL POWER SPARC X86" @@ -62,11 +64,13 @@ scons --ignore-style $TARGETS -j${BUILD_JOBS} - if [ "$?" = "0" ]; then echo "SUCCESS" + popd exit 0 else echo "FAIL" + popd exit 1 fi + diff --git a/tests/jenkins/presubmit.sh b/tests/jenkins/presubmit.sh index 2f86cd3..022a6a1 100755 --- a/tests/jenkins/presubmit.sh +++ b/tests/jenkins/presubmit.sh @@ -44,6 +44,8 @@ libprotoc-dev libssl-dev m4 parallel pigz protobuf-compiler python \ python-pip scons subversion swig zlib1g-dev +pushd git/jenkins-gem5-prod + BUILD_JOBS=4 GEM5_ARCH="ALPHA ARM MIPS NULL POWER SPARC X86" @@ -65,8 +67,10 @@ if [ "$?" = "0" ]; then echo "SUCCESS" + popd exit 0 else echo "FAIL" + popd exit 1 fi -- To view, visit https://gem5-review.googlesource.com/3787 To unsubscribe, visit https://gem5-review.googlesource.com/settings Gerrit-Project: public/gem5 Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I0a76c6963618b40a23963740ac701a2e3aab5efe Gerrit-Change-Number: 3787 Gerrit-PatchSet: 1 Gerrit-Owner: Sean Wilson <spwils...@wisc.edu> _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev
Sean Wilson has uploaded this change for review. (
https://gem5-review.googlesource.com/3787