From 907b699026d5558df43fdf48541278dc9b110a8e Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 18 Aug 2014 22:26:49 -0700 Subject: [PATCH] ART: More failure output on run-test Change-Id: Ifdf1516e950117069b3cfa58c4bda03281dad661 --- test/run-test | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/run-test b/test/run-test index b8e40d932..6fac03b46 100755 --- a/test/run-test +++ b/test/run-test @@ -212,6 +212,7 @@ done # Cannot use realpath, as it does not exist on Mac. # Cannot us a simple "cd", as the path might not be created yet. # Use -m option of readlink: canonicalizes, but allows non-existing components. +noncanonical_tmp_dir=$tmp_dir tmp_dir="`cd $oldwd ; readlink -m $tmp_dir`" mkdir -p $tmp_dir @@ -474,6 +475,8 @@ 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" fi ./$check_cmd "$expected" "$output" -- 2.11.0