From: Stefano Lattarini Date: Thu, 8 Apr 2010 08:54:16 +0000 (+0200) Subject: Make test `aclocal3.test' stricter. X-Git-Tag: v1.11.1b~87^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7103a6060500d07a8de598918fa51c557f0367dd;p=thirdparty%2Fautomake.git Make test `aclocal3.test' stricter. * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL succeds unexpectedly. Make test `aclocal3.test' stricter. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 8995ade19..2ac169893 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-04-11 Stefano Lattarini + Make test `aclocal3.test' stricter. + * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL + succeds unexpectedly. + Add tests checking that symlinks are resolved by `make dist'. * tests/distlinks.test: New test. * tests/Makefile.am (TESTS): Updated accordingly. diff --git a/tests/aclocal3.test b/tests/aclocal3.test index a550e5004..a6aee0fc6 100755 --- a/tests/aclocal3.test +++ b/tests/aclocal3.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1998, 2002, 2004 Free Software Foundation, Inc. +# Copyright (C) 1998, 2002, 2004, 2010 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 @@ -17,6 +17,8 @@ # Test to make sure include of include detects missing macros . ./defs || Exit 1 +set -e + echo GNOME_X_CHECKS >> configure.in mkdir macros @@ -27,6 +29,6 @@ AC_DEFUN([GNOME_X_CHECKS], [ ]) END -$ACLOCAL -I macros 2>stderr +$ACLOCAL -I macros 2>stderr && { cat stderr >&2; Exit 1; } cat stderr grep 'macros/gnome.m4:2:.*AM_PATH_GTK.*not found' stderr