From: Zack Weinberg Date: Wed, 5 Aug 2020 14:45:22 +0000 (-0400) Subject: AT_CHECK_MACRO: Preserve config.log and config.status from run 1. X-Git-Tag: v2.69c~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f4dd4677a091b1616af6f152b753be664964187;p=thirdparty%2Fautoconf.git AT_CHECK_MACRO: Preserve config.log and config.status from run 1. AT_CHECK_MACRO runs a test configure script twice and looks for differences in the results. If something goes wrong, it’ll be helpful for debugging to preserve the config.log and config.status files from both runs. * tests/local.at (AT_CHECK_MACRO): Also copy config.log and config.status to config-log.$at_run and config-status.$at_run respectively. --- diff --git a/tests/local.at b/tests/local.at index 4b2966b0..d667d630 100644 --- a/tests/local.at +++ b/tests/local.at @@ -518,6 +518,8 @@ do AT_CHECK_CONFIGURE([-C]) cp -f state-env.after state-env.$at_run cp -f config.h config-h.$at_run + cp -f config.log config-log.$at_run + cp -f config.status config-status.$at_run AT_CHECK_ENV done