From f6930a83c925507a63d0b2c86429a4d93fa83a72 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Tue, 21 Oct 2014 09:33:08 -0700 Subject: [PATCH] ART: Fix run-test script Correctly pipe error information to the output file. Bug: 17959926 Change-Id: Ifccf2a2a22517b2523228718be6d2a57250847c2 --- test/run-test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.11.0