t/perf/run: copy config.mak.autogen & friends to build area
commitcd5c2812b6a8172a7eaef712cdfad1aaa259fb0b
authorKirill Smelkov <kirr@nexedi.com>
Tue, 13 Sep 2016 06:58:00 +0000 (13 09:58 +0300)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Sep 2016 20:41:11 +0000 (15 13:41 -0700)
treec68945f84b85ec203451376a15ba30943facdba2
parent49981d8a250837019b4a14f44d471fc6ff7e334f
t/perf/run: copy config.mak.autogen & friends to build area

Otherwise for people who use autotools-based configure in main worktree,
the performance testing results will be inconsistent as work and build
trees could be using e.g. different optimization levels.

See e.g.

http://public-inbox.org/git/20160818175222.bmm3ivjheokf2qzl@sigill.intra.peff.net/

for example.

NOTE config.status has to be copied because otherwise without it the build
would want to run reconfigure this way loosing just copied config.mak.autogen.

Signed-off-by: Kirill Smelkov <kirr@nexedi.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/run