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
This commit is contained in:
commit
08d0f7a531
@ -30,7 +30,13 @@ unpack_git_rev () {
|
|||||||
}
|
}
|
||||||
build_git_rev () {
|
build_git_rev () {
|
||||||
rev=$1
|
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) ||
|
(cd build/$rev && make $GIT_PERF_MAKE_OPTS) ||
|
||||||
die "failed to build revision '$mydir'"
|
die "failed to build revision '$mydir'"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user