diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2011-03-30 12:48:42 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2011-03-31 15:27:05 +0200 |
commit | 1dd55a48e354e57686879ea9900c8daf0402a10a (patch) | |
tree | b79879cd46f971d365b09ed4f16d59a9eaf12341 /tests/aclocal6.test | |
parent | 34c1c2d884774ae91f82e1c5027d1502b3112c6a (diff) | |
download | automake-1dd55a48e354e57686879ea9900c8daf0402a10a.tar.gz |
tests: improve tests on "maintainer-clean" target
* tests/aclocal6.test: Move checks related to "maintainer-clean"
functionalities into ...
* tests/maintclean-vpath.test: ... this new test.
* tests/maintclean.test: Update heading comments. Extend to also
test subdirs. Remove useless disabling of YACC. Fix m4 quoting
in configure.in. Add a trailing `:' command.
* tests/Makefile.am (TESTS): Update.
Diffstat (limited to 'tests/aclocal6.test')
-rwxr-xr-x | tests/aclocal6.test | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/tests/aclocal6.test b/tests/aclocal6.test index ea6bac303..220bf90fb 100755 --- a/tests/aclocal6.test +++ b/tests/aclocal6.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2003 Free Software Foundation, Inc. +# Copyright (C) 2003, 2011 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 @@ -44,13 +44,6 @@ $ACLOCAL -I m4 $AUTOCONF $AUTOMAKE --copy --add-missing -# Users can disable autom4te.cache. -if test -d autom4te.cache; then - test_cache='test -d' -else - test_cache=: -fi - mkdir build cd build @@ -79,15 +72,4 @@ test -f $me-1.0/m4/moredefs.m4 test -f $me-1.0/m4/somedefs.m4 test -f $me-1.0/acinclude.m4 -# Make sure maintainer-clean works in VPATH builds. -# (This is unrelated to the rest of this test.) -$MAKE clean -$test_cache ../autom4te.cache -test -f Makefile -test -f sub/Makefile -$MAKE maintainer-clean -test ! -d ../autom4te.cache -test ! -f Makefile -test ! -f sub/Makefile - : |