From: Andreas Gampe Date: Tue, 21 Oct 2014 16:33:08 +0000 (-0700) Subject: ART: Fix run-test script X-Git-Tag: android-x86-7.1-r1~889^2~2836^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f6930a83c925507a63d0b2c86429a4d93fa83a72;p=android-x86%2Fart.git ART: Fix run-test script Correctly pipe error information to the output file. Bug: 17959926 Change-Id: Ifccf2a2a22517b2523228718be6d2a57250847c2 --- diff --git a/test/run-test b/test/run-test index 62c701fa9..36288d7ba 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