diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-09-21 15:15:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-21 15:15:27 -0700 |
commit | 0c5ff91639ab568e7cc7ecdad70a05e2888524f8 (patch) | |
tree | 5154949d834d18250bccd12b7a34e3580a57e640 /t/perf/run | |
parent | Merge branch 'mr/vcs-svn-printf-ulong' (diff) | |
parent | t/perf/run: copy config.mak.autogen & friends to build area (diff) | |
download | tgif-0c5ff91639ab568e7cc7ecdad70a05e2888524f8.tar.xz |
Merge branch 'ks/perf-build-with-autoconf'
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
Diffstat (limited to 't/perf/run')
-rwxr-xr-x | t/perf/run | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/t/perf/run b/t/perf/run index cfd70129bb..e8adedadfd 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'" } |