* tests/Makefile.am (TESTS): Added werror.test.
(XFAIL_TESTS): Likewise.
* tests/werror.test: New file.
2001-05-08 Tom Tromey <tromey@redhat.com>
+ For PR automake/149:
+ * tests/Makefile.am (TESTS): Added werror.test.
+ (XFAIL_TESTS): Likewise.
+ * tests/werror.test: New file.
+
* automake.in (conditional_true_when): Don't return if we see
`TRUE'.
AUTOMAKE_OPTIONS = gnits
-XFAIL_TESTS = subobj2.test yaccvpath.test texinfo10.test subdir5.test
+XFAIL_TESTS = subobj2.test yaccvpath.test texinfo10.test subdir5.test \
+werror.test
TESTS = \
acinclude.test \
vpath.test \
vtexi.test \
vtexi2.test \
+werror.test \
whoami.test \
xsource.test \
yacc.test \
AUTOMAKE_OPTIONS = gnits
-XFAIL_TESTS = subobj2.test yaccvpath.test texinfo10.test subdir5.test
+XFAIL_TESTS = subobj2.test yaccvpath.test texinfo10.test subdir5.test \
+werror.test
+
TESTS = \
acinclude.test \
vpath.test \
vtexi.test \
vtexi2.test \
+werror.test \
whoami.test \
xsource.test \
yacc.test \
--- /dev/null
+#! /bin/sh
+
+# Test to make sure --Werror and --add-missing work together.
+
+. $srcdir/defs || exit 1
+
+: > Makefile.am
+
+rm install-sh depcomp missing mkinstalldirs
+
+$AUTOMAKE --Werror --add-missing