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 62c701f..36288d7 100755
--- a/test/run-test
+++ b/test/run-test
@@ -526,9 +526,9 @@
         "./${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