summaryrefslogtreecommitdiffstats
path: root/test/run-test
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-10-21 09:33:08 -0700
committerAndreas Gampe <agampe@google.com>2014-10-21 09:33:08 -0700
commitf6930a83c925507a63d0b2c86429a4d93fa83a72 (patch)
treef13afe16c1abfcb00972e99473732d01addad24b /test/run-test
parent8946e41dcce414dc3359c23d93e001f91d186612 (diff)
downloadart-f6930a83c925507a63d0b2c86429a4d93fa83a72.zip
art-f6930a83c925507a63d0b2c86429a4d93fa83a72.tar.gz
art-f6930a83c925507a63d0b2c86429a4d93fa83a72.tar.bz2
ART: Fix run-test script
Correctly pipe error information to the output file. Bug: 17959926 Change-Id: Ifccf2a2a22517b2523228718be6d2a57250847c2
Diffstat (limited to 'test/run-test')
-rwxr-xr-xtest/run-test6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/run-test b/test/run-test
index 62c701f..36288d7 100755
--- a/test/run-test
+++ b/test/run-test
@@ -526,9 +526,9 @@ else
"./${run}" $run_args "$@" >"$output" 2>&1
else
cp "$build_output" "$output"
- echo "Failed to build in tmpdir=${tmp_dir} from oldwd=${oldwd} and cwd=`pwd`"
- echo "Non-canonical tmpdir was ${noncanonical_tmp_dir}"
- echo "build exit status: $build_exit" >>"$output"
+ echo "Failed to build in tmpdir=${tmp_dir} from oldwd=${oldwd} and cwd=`pwd`" >> "$output"
+ echo "Non-canonical tmpdir was ${noncanonical_tmp_dir}" >> "$output"
+ echo "build exit status: $build_exit" >> "$output"
fi
./$check_cmd "$expected" "$output"
if [ "$?" = "0" ]; then