diff options
author | Charles Baylis <charles.baylis@linaro.org> | 2016-11-22 17:30:22 +0100 |
---|---|---|
committer | Charles Baylis <charles.baylis@linaro.org> | 2016-11-22 17:30:22 +0100 |
commit | 65e8dfb121e10ec2ef7a8b4e86d2615b3dfbb008 (patch) | |
tree | 1e9efffcb961678416a55a615b1a0e4887aae1ff /test-checkout.sh | |
parent | 4689155cc2fdec1d96b9ab7ad7ebeaa0c05df6c4 (diff) |
Remove use of the do_test_with_msg function.
THis function causes 'set -e' to be supressed when doing the
prev-abe tests. The message is potentially misleading when the
test fails for a genuine reason, so it's best removed anyway.
Change-Id: I2058375358ecd921f0cd5908b4db089207332366
Diffstat (limited to 'test-checkout.sh')
-rwxr-xr-x | test-checkout.sh | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/test-checkout.sh b/test-checkout.sh index 0a428ac..6e59ee6 100755 --- a/test-checkout.sh +++ b/test-checkout.sh @@ -220,18 +220,6 @@ do_test() fi } -do_test_with_msg() -{ - if do_test "$@"; then - # success is fine - true - else - echo "If this change resulted in an intentional change to the" - echo "manifest format or contents, then review the results, and" - echo "write an explanation in the gerrit comments." - fi -} - NUM_FAIL=0 NUM_PASS=0 NUM_TESTS=0 @@ -253,8 +241,8 @@ do_test test_native do_test test_unknown_branch for configs in gcc4_9 gcc5 gcc6; do CONFDIR=$ABE_PATH/config/$configs - do_test_with_msg test_previous_abe_manifest --extraconfigdir "$CONFDIR" - do_test_with_msg test_previous_abe_cmd_line --extraconfigdir "$CONFDIR" + do_test test_previous_abe_manifest --extraconfigdir "$CONFDIR" + do_test test_previous_abe_cmd_line --extraconfigdir "$CONFDIR" done echo Passed $NUM_PASS/$NUM_TESTS tests. |