summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-09-29 23:49:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-09-29 23:49:40 (GMT)
commit08d0f7a5317d80cbb93f80791f2759fb6aec890f (patch)
treeea24002a5469c2b6be5187b3334b4c12e4c5fe73
parentef4f0cad4ba2340d02e79f60a5b5a308048222c7 (diff)
parentcd5c2812b6a8172a7eaef712cdfad1aaa259fb0b (diff)
downloadgit-08d0f7a5317d80cbb93f80791f2759fb6aec890f.zip
git-08d0f7a5317d80cbb93f80791f2759fb6aec890f.tar.gz
git-08d0f7a5317d80cbb93f80791f2759fb6aec890f.tar.bz2
Merge branch 'ks/perf-build-with-autoconf' into maint
Performance tests done via "t/perf" did not use the same set of build configuration if the user relied on autoconf generated configuration. * ks/perf-build-with-autoconf: t/perf/run: copy config.mak.autogen & friends to build area
-rwxr-xr-xt/perf/run8
1 files changed, 7 insertions, 1 deletions
diff --git a/t/perf/run b/t/perf/run
index cfd7012..e8adeda 100755
--- a/t/perf/run
+++ b/t/perf/run
@@ -30,7 +30,13 @@ unpack_git_rev () {
}
build_git_rev () {
rev=$1
- cp ../../config.mak build/$rev/config.mak
+ for config in config.mak config.mak.autogen config.status
+ do
+ if test -e "../../$config"
+ then
+ cp "../../$config" "build/$rev/"
+ fi
+ done
(cd build/$rev && make $GIT_PERF_MAKE_OPTS) ||
die "failed to build revision '$mydir'"
}