diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2011-07-15 21:07:29 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2011-07-16 12:32:48 +0200 |
commit | 650d3ec9072dc8cc1d5169db0cb7b63a9d9c0b40 (patch) | |
tree | 0892fe585a13a95f66389371abac781547d2e2ba /tests/lisp5.test | |
parent | 05fa2516353c43dedd289052295abf6b0064e394 (diff) | |
download | automake-650d3ec9072dc8cc1d5169db0cb7b63a9d9c0b40.tar.gz |
tests: tweak, improve and extend tests on lisp support
* tests/lisp2.test: Prettify, and improve debugging output. Make
grepping of automake stderr stricter.
* tests/lisp7.test: Ensure verbose printing of captured make
output. Add trailing `:' command.
* tests/lisp8.test: Likewise.
* tests/lisp3.test: Likewise. Also, check that `.el' files and
compiled `.elc' files get installed by "make install", and
uninstalled by "make uninstall".
* tests/lisp4.test: Ensure installed `.el' files gets removed by
"make uninstall". Related changes. Add trailing `:' command.
* tests/lisp5.test: Likewise.
* tests/lisp6.test: Use proper m4 quoting in configure.in. Fix
use of blank lines, to improve clarity and symmetry. Fix typo in
comment. Add trailing `:' command.
Diffstat (limited to 'tests/lisp5.test')
-rwxr-xr-x | tests/lisp5.test | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/lisp5.test b/tests/lisp5.test index 93ac9e132..59bd8ec28 100755 --- a/tests/lisp5.test +++ b/tests/lisp5.test @@ -40,6 +40,10 @@ install-test: install test ! -f "$(lispdir)/am-one.elc" test ! -f "$(lispdir)/am-two.elc" test ! -f "$(lispdir)/am-three.elc" + +not-installed: + find "$(lispdir)" | grep '\.el$$' && exit 1; : + find "$(lispdir)" | grep '\.elc$$' && exit 1; : EOF cat >> configure.in << 'EOF' @@ -60,10 +64,16 @@ $MAKE $MAKE test $MAKE install-test $MAKE uninstall +$MAKE not-installed # Fake the absence of emacs. -# *.el files SHOULD be installed. +# *.el files SHOULD be installed by "make install" (and uninstalled +# by "make uninstall"). ./configure EMACS=no --prefix "`pwd`" $MAKE $MAKE test $MAKE install-test +$MAKE uninstall +$MAKE not-installed + +: |