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>
Ævar Arnfjörð Bjarmason committed
May 20, 2017 at 21:42 UTC
b11ad029cb67070f04e131b3afb739da5d086509
1 file changed
+2
t/perf/run
+2
@@ -24,6 +24,7 @@ run_one_dir () {
24
25
unpack_git_rev () {
26
rev=$1
27
+ echo "=== Unpacking $rev in build/$rev ==="
28
mkdir -p build/$rev
29
(cd "$(git rev-parse --show-cdup)" && git archive --format=tar $rev) |
30
(cd build/$rev && tar x)
@@ -37,6 +38,7 @@ build_git_rev () {
38
cp "../../$config" "build/$rev/"
39
fi
40
done
41
+ echo "=== Building $rev ==="
42
(
43
cd build/$rev &&
44
if test -n "$GIT_PERF_MAKE_COMMAND"