]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool: Avoid conflict of havelib-tests with --single-configure.
authorBruno Haible <bruno@clisp.org>
Sun, 19 Feb 2017 14:15:11 +0000 (15:15 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 19 Feb 2017 14:15:11 +0000 (15:15 +0100)
* gnulib_tool (func_create_testdir): Avoid havelib-tests when
--with-tests --single-configure is specified.

ChangeLog
gnulib-tool

index 17a2dd6e078408cf0dd611ceab0c4b08b7d26c67..1adb3f4a4cc799066a6b868de4eba9e95ef23d9e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-02-19  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool: Avoid conflict of havelib-tests with --single-configure.
+       * gnulib_tool (func_create_testdir): Avoid havelib-tests when
+       --with-tests --single-configure is specified.
+
 2017-02-16  Tim Rühsen  <tim.ruehsen@gmx.de>
 
        users.txt: Update links, use HTTPS where possible
index 5b6620e9c3ebc0d80edfe5f2bc8f35414e22c2cd..8b3f61fc006fa90aa6cc0174b5dbc86c5e07fb5b 100755 (executable)
@@ -5850,6 +5850,12 @@ func_create_testdir ()
   # Canonicalize the list of specified modules.
   specified_modules=`for m in $specified_modules; do echo $m; done | LC_ALL=C sort -u`
 
+  # Test modules which invoke AC_CONFIG_FILES cannot be used with
+  # --with-tests --single-configure. Avoid them.
+  if $inctests && $single_configure; then
+    avoidlist="$avoidlist havelib-tests"
+  fi
+
   # Unlike in func_import, here we want to include all kinds of tests for the
   # directly specified modules, but not for dependencies.
   inc_all_direct_tests=true