X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=performance-test%2Fperf-test-lib.sh;h=c89d5aab39a069e7ee28596b3f20ea0e7a8803ed;hb=30c475c1ef3d6823ed9ab0affc30328726c5240f;hp=88601fc79f884bf418ca53ed320fbde4fdca5831;hpb=d08af93c65310c2d5ec8033040854f8ff4e5550f;p=notmuch diff --git a/performance-test/perf-test-lib.sh b/performance-test/perf-test-lib.sh index 88601fc7..c89d5aab 100644 --- a/performance-test/perf-test-lib.sh +++ b/performance-test/perf-test-lib.sh @@ -1,4 +1,4 @@ -. ./version.sh +. ./version.sh || exit 1 corpus_size=large @@ -25,7 +25,7 @@ do echo "error: unknown performance test option '$1'" >&2; exit 1 ;; esac done -. ../test/test-lib-common.sh +. ../test/test-lib-common.sh || exit 1 set -e @@ -149,7 +149,7 @@ memory_run () printf "[ %d ]\t%s\n" $test_count "$1" - NOTMUCH_TALLOC_REPORT="$talloc_log" valgrind --leak-check=full --log-file="$log_file" $2 + NOTMUCH_TALLOC_REPORT="$talloc_log" eval "valgrind --leak-check=full --log-file='$log_file' $2" awk '/LEAK SUMMARY/,/suppressed/ { sub(/^==[0-9]*==/," "); print }' "$log_file" echo