diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2011-09-02 21:57:03 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2011-09-02 21:57:03 +0200 |
commit | 7ce19f110c1420531ff39a97ce710bad972f776d (patch) | |
tree | b82956a2844ba487c05d647598394e37c101fb73 /tests/acloca18.test | |
parent | 8e959b1107f69ac6d85847d5c0f13f4c0a686bcc (diff) | |
parent | e25ee5889f3fdf9890e4a141e1c27d6a063b2ad9 (diff) | |
download | automake-7ce19f110c1420531ff39a97ce710bad972f776d.tar.gz |
Merge branch 'maint'
* maint:
tests: simplify wrapper for aclocal
Diffstat (limited to 'tests/acloca18.test')
-rwxr-xr-x | tests/acloca18.test | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/tests/acloca18.test b/tests/acloca18.test index 2b26d3f23..a7a6e2e2e 100755 --- a/tests/acloca18.test +++ b/tests/acloca18.test @@ -64,9 +64,7 @@ AC_DEFUN([AM_MACRO1], [echo macro16 >> foo]) #serial 1 EOF -ACLOCAL_TESTSUITE_FLAGS='-I 1 -I 2 -I 3 -I 4' - -$ACLOCAL +$ACLOCAL -I 1 -I 2 -I 3 -I 4 $AUTOCONF ./configure grep macro11 foo @@ -74,16 +72,15 @@ grep macro21 foo $sleep rm -f foo -$ACLOCAL --install +$ACLOCAL -I 1 -I 2 -I 3 -I 4 --install $AUTOCONF ./configure grep macro12 foo grep macro23 foo $sleep -ACLOCAL_TESTSUITE_FLAGS='-I 4 -I 1 -I 2 -I 3' rm -f foo -$ACLOCAL --install --dry-run +$ACLOCAL -I 4 -I 1 -I 2 -I 3 --install --dry-run $AUTOCONF ./configure grep macro12 foo @@ -91,29 +88,26 @@ grep macro23 foo $sleep rm -f foo -$ACLOCAL --install +$ACLOCAL -I 4 -I 1 -I 2 -I 3 --install $AUTOCONF ./configure grep macro14 foo grep macro23 foo $sleep -ACLOCAL_TESTSUITE_FLAGS='-I 4 -I 1 -I 2' rm -f foo -$ACLOCAL --install 2>stderr && { cat stderr >&2; Exit 1; } +$ACLOCAL -I 4 -I 1 -I 2 --install 2>stderr && { cat stderr >&2; Exit 1; } cat stderr >&2 grep 'macro.*AM_MACRO2.*not found' stderr $sleep -ACLOCAL_TESTSUITE_FLAGS='-I 4 -I 1' rm -f foo -$ACLOCAL --install +$ACLOCAL -I 4 -I 1 --install $AUTOCONF ./configure grep macro14 foo grep macro21 foo - $sleep mkdir dirlist-test cat >dirlist-test/m1.m4 <<EOF @@ -122,7 +116,7 @@ AC_DEFUN([AM_MACRO1], [echo macro1d >> foo]) AC_DEFUN([AM_MACRO2], [echo macro2d >> foo]) EOF rm -f foo -$ACLOCAL --diff=diff >stdout 2>stderr || { +$ACLOCAL -I 4 -I 1 --diff=diff >stdout 2>stderr || { cat stderr >&2 cat stdout Exit 1 |