]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: avoid missing .dvi failure with parallel tests
authorJim Meyering <meyering@fb.com>
Mon, 16 Nov 2020 05:14:24 +0000 (21:14 -0800)
committerJim Meyering <meyering@fb.com>
Mon, 16 Nov 2020 05:17:29 +0000 (21:17 -0800)
* t/txinfo-no-clutter.sh: Tests of texinfo-related rules
had overlap that made them fail often when some rules were
run in parallel, so inhibit parallelism in that one directory.
See discussion starting at
https://lists.gnu.org/r/automake-patches/2020-11/msg00011.html

t/txinfo-no-clutter.sh

index b311f03482b7946cefc026f274868358da16ad88..6940aa9453edaf6ad3fbe9babe33bdea3c32d06a 100644 (file)
@@ -29,6 +29,10 @@ cat > Makefile.am << 'END'
 all-local: ps pdf dvi html # For "make distcheck".
 info_TEXINFOS = foo.texi doc/bar.texi baz.texi
 SUBDIRS = sub
+
+# Tell GNU make not to parallelize these, because they
+# have overlap between explicit and intermediate .dvi files.
+.NOTPARALLEL:
 END
 
 mkdir sub doc