]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Make test `aclocal3.test' stricter.
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 8 Apr 2010 08:54:16 +0000 (10:54 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 11 Apr 2010 17:52:40 +0000 (19:52 +0200)
* tests/aclocal3.test: Add call to `set -e'.  Fail if $ACLOCAL
succeds unexpectedly.
Make test `aclocal3.test' stricter.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/aclocal3.test

index 8995ade19a0841e1834b47b6823d531419f8c54d..2ac169893906828f17535597202fb2655c031e9b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
+       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.
index a550e50047615af4b0fd2ec6ee3fea2a83c3e153..a6aee0fc606ef7d7d15899a69dbc344e1b236141 100755 (executable)
@@ -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