Skip to content

Commit 0c5ff91

Browse files
committed
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
2 parents ac5ce66 + cd5c281 commit 0c5ff91

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

t/perf/run

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,13 @@ unpack_git_rev () {
3030
}
3131
build_git_rev () {
3232
rev=$1
33-
cp ../../config.mak build/$rev/config.mak
33+
for config in config.mak config.mak.autogen config.status
34+
do
35+
if test -e "../../$config"
36+
then
37+
cp "../../$config" "build/$rev/"
38+
fi
39+
done
3440
(cd build/$rev && make $GIT_PERF_MAKE_OPTS) ||
3541
die "failed to build revision '$mydir'"
3642
}

0 commit comments

Comments
 (0)