diff options
author | Manoj Gupta <manojgupta@google.com> | 2017-07-11 11:13:44 -0700 |
---|---|---|
committer | Manoj Gupta <manojgupta@chromium.org> | 2017-07-11 23:49:35 +0000 |
commit | fcf26b3b89a7893c7430841ab153e1a58d657c12 (patch) | |
tree | 4d1a6ff97ed469ef8d8cb5cef7a3f3c018441b46 | |
parent | 856bc6c55617060f5824d6c0e08b5197b89d2ecc (diff) | |
download | toolchain-utils-fcf26b3b89a7893c7430841ab153e1a58d657c12.tar.gz |
Fix compiler bisection tests nowrapper script.
SAVE_DIR was being overwritten. Inside the condition,
SAVE_DIR is not needed. Just use DIR directly.
BUG=chromium:740230
TEST= ./full_bisect_test/run-test-nowrapper.sh works.
Change-Id: Ic35d3039f6fd31f2a5f3a0d4812568eaceda4742
Reviewed-on: https://chromium-review.googlesource.com/567364
Reviewed-by: Caroline Tice <cmtice@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>
-rwxr-xr-x | binary_search_tool/full_bisect_test/run-test-nowrapper.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/binary_search_tool/full_bisect_test/run-test-nowrapper.sh b/binary_search_tool/full_bisect_test/run-test-nowrapper.sh index 94876e70..afc4a446 100755 --- a/binary_search_tool/full_bisect_test/run-test-nowrapper.sh +++ b/binary_search_tool/full_bisect_test/run-test-nowrapper.sh @@ -46,18 +46,17 @@ if [[ ! -f good-objects-permanent/build.o ]] ; then rm -f work/*.o # skip populate stages in bisect wrapper unset BISECT_STAGE - SAVE_DIR=`pwd` # Set up the 'good' source files. cd .. ${DIR}/make_sources_good.sh - cd ${SAVE_DIR} + cd ${DIR} # Build the 'good' .o files & copy to appropriate directory. ./build.sh mv work/*.o good-objects-permanent/. # Set up the 'bad' source files. cd .. ${DIR}/make_sources_bad.sh - cd ${SAVE_DIR} + cd ${DIR} # Build the 'bad' .o files & copy to appropriate directory. ./build.sh mv work/*.o bad-objects-permanent/. |