+2007-11-25 Akim Demaille <akim@lrde.epita.fr>
+
+ Several *-local in a rule do not work.
+ * tests/all.test: Check this case.
+ Use set -e.
+ * tests/Makefile.am (XFAIL_TESTS): Add it.
+
2007-11-25 Akim Demaille <akim@lrde.epita.fr>
Fix uses of am__strip_dir.
target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-XFAIL_TESTS = auxdir2.test cond17.test txinfo5.test
+XFAIL_TESTS = \
+all.test \
+auxdir2.test \
+cond17.test \
+txinfo5.test
+
TESTS = \
aclibobj.test \
aclocal.test \
#! /bin/sh
-# Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2001, 2002, 2007 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
# Test to make sure all-local and other -local targets work correctly.
. ./defs || exit 1
+set -e
-for target in all install-exec install-data uninstall; do
+targets='all install-exec install-data uninstall'
+for target in $targets; do
echo "Doing $target"
echo "${target}-local:" > Makefile.am
- $ACLOCAL || exit 1
-$AUTOMAKE || exit 1
+ $ACLOCAL
+ $AUTOMAKE
$FGREP "${target}-local ${target}-local" Makefile.in && exit 1
done
+
+# Several *-local's in a single rule.
+echo "Doing $targets"
+echo "$targets:" | sed -e 's/[ :]/-local&/g' > Makefile.am
+$ACLOCAL
+$AUTOMAKE
+
+for target in $targets; do
+ $EGREP "${target}-am:.*${target}-local" Makefile.in
+done
+
exit 0