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.
#! /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
# Test to make sure include of include detects missing macros
. ./defs || Exit 1
+set -e
+
echo GNOME_X_CHECKS >> configure.in
mkdir macros
])
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