Change subject: tests: Avoid use of pushd/popd in jenkins scripts ...................................................................... tests: Avoid use of pushd/popd in jenkins scripts Change-Id: I782d5bc17a19a40f20e4ca33d41f3aefc17ae2a9 --- M tests/jenkins/continuous.sh M tests/jenkins/presubmit.sh 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/jenkins/continuous.sh b/tests/jenkins/continuous.sh index 7e34a3c..3e670af 100755 --- a/tests/jenkins/continuous.sh +++ b/tests/jenkins/continuous.sh @@ -44,7 +44,7 @@ libprotoc-dev libssl-dev m4 parallel pigz protobuf-compiler python \ python-pip scons subversion swig zlib1g-dev -pushd git/jenkins-gem5-prod +cd git/jenkins-gem5-prod BUILD_JOBS=4 @@ -66,11 +66,11 @@ if [ "$?" = "0" ]; then echo "SUCCESS" - popd + cd ../.. exit 0 else echo "FAIL" - popd + cd ../.. exit 1 fi diff --git a/tests/jenkins/presubmit.sh b/tests/jenkins/presubmit.sh index 022a6a1..7892aa6 100755 --- a/tests/jenkins/presubmit.sh +++ b/tests/jenkins/presubmit.sh @@ -44,7 +44,7 @@ libprotoc-dev libssl-dev m4 parallel pigz protobuf-compiler python \ python-pip scons subversion swig zlib1g-dev -pushd git/jenkins-gem5-prod +cd git/jenkins-gem5-prod BUILD_JOBS=4 @@ -67,10 +67,10 @@ if [ "$?" = "0" ]; then echo "SUCCESS" - popd + cd ../.. exit 0 else echo "FAIL" - popd + cd ../.. exit 1 fi -- To view, visit https://gem5-review.googlesource.com/3788 To unsubscribe, visit https://gem5-review.googlesource.com/settings Gerrit-Project: public/gem5 Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I782d5bc17a19a40f20e4ca33d41f3aefc17ae2a9 Gerrit-Change-Number: 3788 Gerrit-PatchSet: 1 Gerrit-Owner: Sean Wilson <[email protected]> _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
Sean Wilson has uploaded this change for review. (
https://gem5-review.googlesource.com/3788
