diff options
author | Zack Weinberg <zackw@panix.com> | 2020-08-05 10:45:22 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2020-08-05 10:45:22 -0400 |
commit | 6f4dd4677a091b1616af6f152b753be664964187 (patch) | |
tree | 5ba2dcd3ff8bfc2bcb42007e2c933f6aa3c151fa | |
parent | c16be7152d883483e1b8af0bd76c8d5800cbc3d0 (diff) | |
download | autoconf-6f4dd4677a091b1616af6f152b753be664964187.tar.gz |
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.
-rw-r--r-- | tests/local.at | 2 |
1 files changed, 2 insertions, 0 deletions
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 |