diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-04-03 09:34:44 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-03 09:34:44 -0700 |
commit | d3ea5826e4d27dea7bebf3b3029d183ddf31567a (patch) | |
tree | 53f85ad3cb8f9f3bb1be95c32c73d92d83f5d322 /t/test-lib-functions.sh | |
parent | 5ab3e4c1b2db00d813b548053f3b96d57d035dd7 (diff) | |
parent | eeb69131ed7f3cb7a191d5bf0e3ce8fdd726a539 (diff) | |
download | git-d3ea5826e4d27dea7bebf3b3029d183ddf31567a.tar.gz |
Merge branch 'tr/valgrind'
Let us use not just memgrind but other *grind debuggers.
* tr/valgrind:
tests: notice valgrind error in test_must_fail
tests --valgrind: provide a mode without --track-origins
tests: parameterize --valgrind option
t/README: --valgrind already implies -v
Diffstat (limited to 't/test-lib-functions.sh')
-rw-r--r-- | t/test-lib-functions.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index 42c2258b4f..52510094ad 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -540,6 +540,9 @@ test_must_fail () { elif test $exit_code = 127; then echo >&2 "test_must_fail: command not found: $*" return 1 + elif test $exit_code = 126; then + echo >&2 "test_must_fail: valgrind error: $*" + return 1 fi return 0 } |