mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-18 14:16:00 +08:00
* Makefile.am (lt__cd, CD_TESTDIR): New make macros to work around
problems with CDPATH in some shells. (check-local, installcheck-local, clean-local): Use them.
This commit is contained in:
parent
bc34095f46
commit
25b33e7236
@ -1,3 +1,9 @@
|
||||
2005-04-15 Gary V. Vaughan <gary@gnu.org>
|
||||
|
||||
* Makefile.am (lt__cd, CD_TESTDIR): New make macros to work around
|
||||
problems with CDPATH in some shells.
|
||||
(check-local, installcheck-local, clean-local): Use them.
|
||||
|
||||
2005-04-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
|
||||
|
||||
* bootstrap: Define srcdir for making `commit'.
|
||||
|
12
Makefile.am
12
Makefile.am
@ -340,22 +340,22 @@ tests/atconfig: config.status
|
||||
$(SHELL) ./config.status tests/atconfig
|
||||
DISTCLEANFILES += tests/atconfig
|
||||
|
||||
lt__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
CD_TESTDIR = abs_srcdir=`$(lt__cd) $(srcdir) && pwd`; cd tests
|
||||
|
||||
# Hook the test suite into the check rule
|
||||
check-local: tests/atconfig $(srcdir)/$(TESTSUITE)
|
||||
abs_srcdir=`cd $(srcdir); pwd`; \
|
||||
cd tests; \
|
||||
$(CD_TESTDIR); \
|
||||
$(TESTS_ENVIRONMENT) $(SHELL) $$abs_srcdir/$(TESTSUITE) $(TESTSUITE_FLAGS)
|
||||
|
||||
# Run the test suite on the *installed* tree.
|
||||
installcheck-local:
|
||||
abs_srcdir=`cd $(srcdir); pwd`; \
|
||||
cd tests; \
|
||||
$(CD_TESTDIR); \
|
||||
$(TESTS_ENVIRONMENT) $(SHELL) $$abs_srcdir/$(TESTSUITE) $(TESTSUITE_FLAGS) AUTOTEST_PATH=$(exec_prefix)/bin
|
||||
|
||||
# We need to remove any file droppings left behind by testsuite
|
||||
clean-local: clean-local-legacy
|
||||
-abs_srcdir=`cd $(srcdir); pwd`; \
|
||||
cd tests; \
|
||||
-$(CD_TESTDIR); \
|
||||
test -f $$abs_srcdir/$(TESTSUITE) && \
|
||||
$(SHELL) $$abs_srcdir/$(TESTSUITE) --clean
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user