]> git.ipfire.org Git - thirdparty/git.git/commitdiff
p0004: fix prereq declaration
authorVictoria Dye <vdye@github.com>
Fri, 19 Aug 2022 20:49:08 +0000 (20:49 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Aug 2022 21:35:28 +0000 (14:35 -0700)
Fix multi-threaded 'p0004' test's use of the 'REPO_BIG_ENOUGH_FOR_MULTI'
prerequisite. Unlike normal 't/' tests, 't/perf/' tests need to have their
prerequisites declared with the '--prereq' flag.

Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/p0004-lazy-init-name-hash.sh

index 1afc08fe7f1990cdf7143f0dfd3cfaa66628ca73..85be14e4ddb2a00516e84a8ff4c62796f3e354b4 100755 (executable)
@@ -49,7 +49,7 @@ test_perf "single-threaded, $desc" "
        test-tool lazy-init-name-hash --single --count=$count
 "
 
-test_perf REPO_BIG_ENOUGH_FOR_MULTI "multi-threaded, $desc" "
+test_perf "multi-threaded, $desc" --prereq REPO_BIG_ENOUGH_FOR_MULTI "
        test-tool lazy-init-name-hash --multi --count=$count
 "