[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11-distcheck.patch
From: |
Akim Demaille |
Subject: |
11-distcheck.patch |
Date: |
Mon, 30 Sep 2002 09:33:22 +0200 |
Index: ChangeLog
from Akim Demaille <address@hidden>
* tests/torture.at (Configuring subdirectories): Be robust to
users who use config.site to require for a cache: in this case,
the two last configure runs, using two different sets of
arguments, trigger a legitimate error.
Index: tests/torture.at
--- tests/torture.at Sat, 14 Sep 2002 14:56:56 +0200 akim
+++ tests/torture.at Sat, 28 Sep 2002 15:58:35 +0200 akim
@@ -635,9 +635,12 @@ m4_define([AT_DUMMY_VAR],
])
# Make sure precious variables and command line options are properly
-# passed, even when there are duplicates.
-AT_CHECK([cd builddir && ../configure --prefix /bad --prefix /good INNER=bad
INNER=good], 0, [ignore])
-AT_CHECK([cat builddir/inner/innermost/config], 0,
+# passed, even when there are duplicates. Run another directory so
+# that if the user has set config.site to have a config.cache, then
+# the two runs don't have colliding caches.
+AS_MKDIR_P([builddir2])
+AT_CHECK([cd builddir2 && ../configure --prefix /bad --prefix /good INNER=bad
INNER=good], 0, [ignore])
+AT_CHECK([cat builddir2/inner/innermost/config], 0,
[INNER=good
srcdir=../../../inner/innermost
top_srcdir=../../../inner
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- 11-distcheck.patch,
Akim Demaille <=