Skip to content

Commit b11ad02

Browse files
avargitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 88b6197 commit b11ad02

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

t/perf/run

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ run_one_dir () {
2424

2525
unpack_git_rev () {
2626
rev=$1
27+
echo "=== Unpacking $rev in build/$rev ==="
2728
mkdir -p build/$rev
2829
(cd "$(git rev-parse --show-cdup)" && git archive --format=tar $rev) |
2930
(cd build/$rev && tar x)
@@ -37,6 +38,7 @@ build_git_rev () {
3738
cp "../../$config" "build/$rev/"
3839
fi
3940
done
41+
echo "=== Building $rev ==="
4042
(
4143
cd build/$rev &&
4244
if test -n "$GIT_PERF_MAKE_COMMAND"

0 commit comments

Comments
 (0)