failed, instead of when the last one failed (PR automake/488).
Report from Paul Lunau.
* tests/dejagnu4.test: Update to expose this.
* THANKS: Update.
+2006-04-20 Paul Lunau <temp@lunau.me.uk> (tiny change)
+ Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
+ failed, instead of when the last one failed (PR automake/488).
+ Report from Paul Lunau.
+ * tests/dejagnu4.test: Update to expose this.
+ * THANKS: Update.
+
2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
Paul D. Smith psmith@BayNetworks.COM
Paul Eggert eggert@twinsun.com
Paul Jarc prj@po.cwru.edu
+Paul Lunau temp@lunau.me.uk
Paul Martinolich martinol@datasync.com
Paul Thomas PTHOMAS@novell.com
Pavel Roskin pavel_roskin@geocities.com
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1997, 2000, 2001, 2003
+## Copyright (C) 1994, 1995, 1996, 1997, 2000, 2001, 2003, 2006
## Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## If runtest can't be found, print a warning but don't die. It is
## pointless to cause a failure if the tests cannot be run at all.
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
- l='$(DEJATOOL)'; for tool in $$l; do \
- $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
+ exit_status=0; l='$(DEJATOOL)'; for tool in $$l; do \
+ if $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
+ then :; else exit_status=1; fi; \
done; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
- fi
+ fi; \
+ exit $$exit_status
## ------------------- ##
#! /bin/sh
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
# Boston, MA 02110-1301, USA.
# Check that the DejaGnu rules work for a simple program and test case.
+# Also check PR 488: Failure of the first of several tools tested.
required=runtest
. ./defs || exit 1
test -f spanner.sum
$MAKE distcheck
+
+# Test for PR 488.
+sed 's/E\(verything\)/Not e\1/' hammer > thammer
+mv thammer hammer
+chmod +x hammer
+
+$MAKE check && exit 1
+: