diff options
| author | 2014-10-22 00:44:35 -0700 | |
|---|---|---|
| committer | 2014-10-22 00:44:35 -0700 | |
| commit | deb48a0b5bd1da4d5dce64454d2ff44e3fca875a (patch) | |
| tree | a82902cd2204de7c859ca04ba4f01324d11f4eb3 | |
| parent | 4918e1ca05d0ec1510c7e997c5ae94cf6ce52045 (diff) | |
ART: Print args in case of run-test build failure
Bug: 17959926
Change-Id: If1a6bf0341248818bef6c2a11e0677803c07ad3f
| -rwxr-xr-x | test/089-many-methods/check | 2 | ||||
| -rwxr-xr-x | test/run-test | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/089-many-methods/check b/test/089-many-methods/check index ec6733d018..594626a35a 100755 --- a/test/089-many-methods/check +++ b/test/089-many-methods/check @@ -15,6 +15,6 @@ # limitations under the License. # Strip build error debug messages, as they are environment-specific. -sed -e '/^Failed to build/d' -e '/^Non-canonical tmpdir/d' "$2" > "$2.tmp" +sed -e '/^Failed to build/d' -e '/^Non-canonical tmpdir/d' -e '/^Args:/d' "$2" > "$2.tmp" diff --strip-trailing-cr -q "$1" "$2.tmp" >/dev/null
\ No newline at end of file diff --git a/test/run-test b/test/run-test index 36288d7bac..73ffc3129f 100755 --- a/test/run-test +++ b/test/run-test @@ -17,6 +17,7 @@ # Set up prog to be the path of this script, including following symlinks, # and set up progdir to be the fully-qualified pathname of its directory. prog="$0" +args="$@" while [ -h "${prog}" ]; do newProg=`/bin/ls -ld "${prog}"` newProg=`expr "${newProg}" : ".* -> \(.*\)$"` @@ -528,6 +529,7 @@ else cp "$build_output" "$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 "Args: ${args}" >> "output" echo "build exit status: $build_exit" >> "$output" fi ./$check_cmd "$expected" "$output" |