summaryrefslogtreecommitdiff
path: root/t/perf/run
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2017-05-20 21:42:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-05-20 23:25:38 (GMT)
commitb11ad029cb67070f04e131b3afb739da5d086509 (patch)
tree7da4ced16f1155a55204a553605fdb566891408e /t/perf/run
parent88b6197d0b4f5ad480e9585baa984cac51f4771f (diff)
downloadgit-b11ad029cb67070f04e131b3afb739da5d086509.zip
git-b11ad029cb67070f04e131b3afb739da5d086509.tar.gz
git-b11ad029cb67070f04e131b3afb739da5d086509.tar.bz2
perf: emit progress output when unpacking & building
Amend the t/perf/run output so that in addition to the "Running N tests" heading currently being emitted, it also emits "Unpacking $rev" and "Building $rev" when setting up the build/$rev directory & when building it, respectively. This makes it easier to see what's going on and what revision is being tested as the output scrolls by. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf/run')
-rwxr-xr-xt/perf/run2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/perf/run b/t/perf/run
index b61024a..beb4acc 100755
--- a/t/perf/run
+++ b/t/perf/run
@@ -24,6 +24,7 @@ run_one_dir () {
unpack_git_rev () {
rev=$1
+ echo "=== Unpacking $rev in build/$rev ==="
mkdir -p build/$rev
(cd "$(git rev-parse --show-cdup)" && git archive --format=tar $rev) |
(cd build/$rev && tar x)
@@ -37,6 +38,7 @@ build_git_rev () {
cp "../../$config" "build/$rev/"
fi
done
+ echo "=== Building $rev ==="
(
cd build/$rev &&
if test -n "$GIT_PERF_MAKE_COMMAND"