340 |
$(SHELL) ./config.status tests/atconfig |
$(SHELL) ./config.status tests/atconfig |
341 |
DISTCLEANFILES += tests/atconfig |
DISTCLEANFILES += tests/atconfig |
342 |
|
|
343 |
|
lt__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
344 |
|
CD_TESTDIR = abs_srcdir=`$(lt__cd) $(srcdir) && pwd`; cd tests |
345 |
|
|
346 |
# Hook the test suite into the check rule |
# Hook the test suite into the check rule |
347 |
check-local: tests/atconfig $(srcdir)/$(TESTSUITE) |
check-local: tests/atconfig $(srcdir)/$(TESTSUITE) |
348 |
abs_srcdir=`cd $(srcdir); pwd`; \ |
$(CD_TESTDIR); \ |
|
cd tests; \ |
|
349 |
$(TESTS_ENVIRONMENT) $(SHELL) $$abs_srcdir/$(TESTSUITE) $(TESTSUITE_FLAGS) |
$(TESTS_ENVIRONMENT) $(SHELL) $$abs_srcdir/$(TESTSUITE) $(TESTSUITE_FLAGS) |
350 |
|
|
351 |
# Run the test suite on the *installed* tree. |
# Run the test suite on the *installed* tree. |
352 |
installcheck-local: |
installcheck-local: |
353 |
abs_srcdir=`cd $(srcdir); pwd`; \ |
$(CD_TESTDIR); \ |
|
cd tests; \ |
|
354 |
$(TESTS_ENVIRONMENT) $(SHELL) $$abs_srcdir/$(TESTSUITE) $(TESTSUITE_FLAGS) AUTOTEST_PATH=$(exec_prefix)/bin |
$(TESTS_ENVIRONMENT) $(SHELL) $$abs_srcdir/$(TESTSUITE) $(TESTSUITE_FLAGS) AUTOTEST_PATH=$(exec_prefix)/bin |
355 |
|
|
356 |
# We need to remove any file droppings left behind by testsuite |
# We need to remove any file droppings left behind by testsuite |
357 |
clean-local: clean-local-legacy |
clean-local: clean-local-legacy |
358 |
-abs_srcdir=`cd $(srcdir); pwd`; \ |
-$(CD_TESTDIR); \ |
|
cd tests; \ |
|
359 |
test -f $$abs_srcdir/$(TESTSUITE) && \ |
test -f $$abs_srcdir/$(TESTSUITE) && \ |
360 |
$(SHELL) $$abs_srcdir/$(TESTSUITE) --clean |
$(SHELL) $$abs_srcdir/$(TESTSUITE) --clean |
361 |
|
|