TABs as well as spaces. Fixes PR automake/490.
* tests/check6.test: New test.
* tests/Makefile.am, THANKS: Update.
Report from Diab Jerius <djerius@cfa.harvard.edu>.
+2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
+ TABs as well as spaces. Fixes PR automake/490.
+ * tests/check6.test: New test.
+ * tests/Makefile.am, THANKS: Update.
+ Report from Diab Jerius <djerius@cfa.harvard.edu>.
+
2006-04-17 Stepan Kasal <kasal@ucw.cz>
* lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
David Zaroski cz253@cleveland.Freenet.Edu
Dean Povey dpovey@wedgetail.com
Derek R. Price derek.price@openavenue.com
+Diab Jerius djerius@cfa.harvard.edu
Didier Cassirame faded@free.fr
Dieter Baron dillo@stieltjes.smc.univie.ac.at
Dmitry Mikhin dmitrym@acres.com.au
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 2001, 2003 Free Software Foundation, Inc.
+## Copyright (C) 2001, 2003, 2006 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
.PHONY: check-TESTS
check-TESTS: $(TESTS)
- @failed=0; all=0; xfail=0; xpass=0; skip=0; \
+ @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
srcdir=$(srcdir); export srcdir; \
list='$(TESTS)'; \
if test -n "$$list"; then \
## Success
all=`expr $$all + 1`; \
case " $(XFAIL_TESTS) " in \
- *" $$tst "*) \
+ *$$ws$$tst$$ws*) \
xpass=`expr $$xpass + 1`; \
failed=`expr $$failed + 1`; \
echo "XPASS: $$tst"; \
## Failure
all=`expr $$all + 1`; \
case " $(XFAIL_TESTS) " in \
- *" $$tst "*) \
+ *$$ws$$tst$$ws*) \
xfail=`expr $$xfail + 1`; \
echo "XFAIL: $$tst"; \
;; \
check3.test \
check4.test \
check5.test \
+check6.test \
checkall.test \
clean.test \
clean2.test \
--- /dev/null
+#! /bin/sh
+# Copyright (C) 2006 Free Software Foundation, Inc.
+#
+# This file is part of GNU Automake.
+#
+# GNU Automake is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# GNU Automake is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Automake; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+# Boston, MA 02110-1301, USA.
+
+# Test for PR 400: XFAIL_TESTS delimited by TABs.
+
+. ./defs || exit 1
+
+set -e
+
+cat >> configure.in << 'END'
+AC_PROG_CC
+AC_OUTPUT
+END
+
+cat > Makefile.am << 'END'
+TESTS = $(XFAIL_TESTS)
+XFAIL_TESTS = a b c
+END
+
+cat >>a <<'END'
+#! /bin/sh
+exit 1
+END
+
+cp a b
+cp a c
+
+chmod a+x a b c
+
+$ACLOCAL
+$AUTOCONF
+$AUTOMAKE -a
+
+./configure
+$MAKE check