]> git.ipfire.org Git - thirdparty/libtool.git/commit
tests: DRYing out `tests/sh.test'.
authorGary V. Vaughan <gary@gnu.org>
Sun, 26 Sep 2010 11:19:18 +0000 (18:19 +0700)
committerGary V. Vaughan <gary@vaughan.pe>
Sun, 14 Aug 2011 22:24:06 +0000 (05:24 +0700)
commit1ace00c27adbd8370522301f4fc21e9d4f0c9651
tree61038a8f9c6c0659c8f26c21a8bef81d67339b79
parenta9c9b239de6b157460032e706432c0dc74b0ad75
tests: DRYing out `tests/sh.test'.

* Makefile.am (libtool_m4): Canonical location of libtool.m4 file.
(lt_aclocal_m4_deps): Use it.
(check_scripts): New variable for list of scripts to be checked
by `tests/sh.test'.
(legacy_tests_edit): New sed script to substitute `libtool_m4'
and `check_scripts' into `tests/defs'.
(tests/defs.in): Use it.
* tests/defs.m4sh (scripts): Calculate absolute paths of each
entry in `check_scripts' before changing directories.
(libtool_m4): Save location of `libtool.m4'.
(macro_dir, aux_dir): Removed. No longer required by any test.
* tests/sh.test: Remove loop around just `$macro_dir/libtool.m4'
in favour of a single reference to `$libtool_m4' from above.
ChangeLog
Makefile.am
tests/defs.m4sh
tests/sh.test