summaryrefslogtreecommitdiff
path: root/t/perf/p0004-lazy-init-name-hash.sh
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-03-24 07:44:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-27 15:45:47 (GMT)
commit64eb82fea8fbfe96e02997921283f6ffa368f5fe (patch)
tree1c89f320922aee4f648796597cfb2be12bb8d1e7 /t/perf/p0004-lazy-init-name-hash.sh
parentdae2ff9bb6112bbac0a9bee1e524ae0b3ad316fb (diff)
downloadgit-64eb82fea8fbfe96e02997921283f6ffa368f5fe.zip
git-64eb82fea8fbfe96e02997921283f6ffa368f5fe.tar.gz
git-64eb82fea8fbfe96e02997921283f6ffa368f5fe.tar.bz2
t/helper: merge test-lazy-init-name-hash into test-tool
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf/p0004-lazy-init-name-hash.sh')
-rwxr-xr-xt/perf/p0004-lazy-init-name-hash.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/perf/p0004-lazy-init-name-hash.sh b/t/perf/p0004-lazy-init-name-hash.sh
index 8de5a98..1afc08f 100755
--- a/t/perf/p0004-lazy-init-name-hash.sh
+++ b/t/perf/p0004-lazy-init-name-hash.sh
@@ -7,8 +7,8 @@ test_perf_large_repo
test_checkout_worktree
test_expect_success 'verify both methods build the same hashmaps' '
- test-lazy-init-name-hash --dump --single >out.single &&
- if test-lazy-init-name-hash --dump --multi >out.multi
+ test-tool lazy-init-name-hash --dump --single >out.single &&
+ if test-tool lazy-init-name-hash --dump --multi >out.multi
then
test_set_prereq REPO_BIG_ENOUGH_FOR_MULTI &&
sort <out.single >sorted.single &&
@@ -46,11 +46,11 @@ test_expect_success 'calibrate' '
'
test_perf "single-threaded, $desc" "
- test-lazy-init-name-hash --single --count=$count
+ test-tool lazy-init-name-hash --single --count=$count
"
test_perf REPO_BIG_ENOUGH_FOR_MULTI "multi-threaded, $desc" "
- test-lazy-init-name-hash --multi --count=$count
+ test-tool lazy-init-name-hash --multi --count=$count
"
test_done