bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* [PATCH] doc: Repeat warning that --with-tests cannot be used twice.
@ 2021-01-04  0:12 Simon Josefsson via Gnulib discussion list
  0 siblings, 0 replies; only message in thread
From: Simon Josefsson via Gnulib discussion list @ 2021-01-04  0:12 UTC (permalink / raw)
  To: bug-gnulib

[-- Attachment #1: Type: text/plain, Size: 1749 bytes --]

Hi.  I am experimenting with using bootstrap+gnulib in a project that
has a library and a command-line tool, and thus needs two gnulib
instances.  The limitation that --with-tests cannot be used in this case
is helpful to repeat in the relevant section, it caused hard to
understand build errors.

Does anyone know whether it will work to have ONE gnulib tests
directory, or if having two gnulib instances causes even a single gnulib
tests directory to be unreliable?  It appears to be working for me with
one directory, so I'll keep doing that to notice breakage.

/Simon

* doc/gnulib-tool.texi (Multiple instances): Remind reader of
--with-tests limitation.
---
 ChangeLog            | 5 +++++
 doc/gnulib-tool.texi | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 6c042f567..3bd13281b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-01-04  Simon Josefsson  <simon@josefsson.org>
+
+	* doc/gnulib-tool.texi (Multiple instances): Remind reader of
+	--with-tests limitation.
+
 2021-01-03  Bruno Haible  <bruno@clisp.org>
 
 	iconv, iconv_open: Improve documentation.
diff --git a/doc/gnulib-tool.texi b/doc/gnulib-tool.texi
index 3dc6bf002..f3b034f85 100644
--- a/doc/gnulib-tool.texi
+++ b/doc/gnulib-tool.texi
@@ -673,6 +673,9 @@ in the interest of brevity):
     `-- Makefile.am
 @end example
 
+As discussed in @ref{Unit tests}, you may not use @samp{--with-tests}
+for this project since the @code{configure.ac} is shared.
+
 Integration with your code is basically the same as outlined in
 @ref{Initial import} with the one exception that you have to add both
 the macro @code{gl_EARLY} and the macro @code{gl_tools_EARLY} to your
-- 
2.20.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-04  0:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-04  0:12 [PATCH] doc: Repeat warning that --with-tests cannot be used twice Simon Josefsson via Gnulib discussion list

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).