diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-07-05 01:15:48 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-05 01:15:48 -0700 |
commit | 04f2ddda8426d3ae46d52d9dcbfc00bd3c52e645 (patch) | |
tree | e5874fad2dc1692fe95b3e872f07f3e6d2b5761f /t/valgrind | |
parent | 56df44a98759157a6d729901f0e27b749e23c0d6 (diff) | |
parent | 62a23c9f5823171319bd01a924338dfc8e2c0679 (diff) | |
download | git-04f2ddda8426d3ae46d52d9dcbfc00bd3c52e645.tar.gz |
Merge branch 'tr/test-v-and-v-subtest-only'
Allows N instances of tests run in parallel, each running 1/N parts
of the test suite under Valgrind, to speed things up.
* tr/test-v-and-v-subtest-only:
perf-lib: fix start/stop of perf tests
test-lib: support running tests under valgrind in parallel
test-lib: allow prefixing a custom string before "ok N" etc.
test-lib: valgrind for only tests matching a pattern
test-lib: verbose mode for only tests matching a pattern
test-lib: self-test that --verbose works
test-lib: rearrange start/end of test_expect_* and test_skip
test-lib: refactor $GIT_SKIP_TESTS matching
test-lib: enable MALLOC_* for the actual tests
Diffstat (limited to 't/valgrind')
-rwxr-xr-x | t/valgrind/valgrind.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/valgrind/valgrind.sh b/t/valgrind/valgrind.sh index 6b87c91b60..42153036dc 100755 --- a/t/valgrind/valgrind.sh +++ b/t/valgrind/valgrind.sh @@ -4,6 +4,9 @@ base=$(basename "$0") TOOL_OPTIONS='--leak-check=no' +test -z "$GIT_VALGRIND_ENABLED" && +exec "$GIT_VALGRIND"/../../"$base" "$@" + case "$GIT_VALGRIND_MODE" in memcheck-fast) ;; |