bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

avoid trouble caused by havelib-tests


From: Bruno Haible
Subject: avoid trouble caused by havelib-tests
Date: Sun, 19 Feb 2017 15:18:19 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-62-generic; KDE/5.18.0; x86_64; ; )

A testdir created with --with-tests --single-configure fails to configure if
it happens to include module 'havelib-tests':

  $ ./configure
  ...
  configure: creating ./config.status
  config.status: error: cannot find input file: `havelib/Makefile.in'

This patch works around it.


2017-02-19  Bruno Haible  <address@hidden>

        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.

--- a/gnulib-tool
+++ b/gnulib-tool
@@ -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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]