>From f024c3edeabe76e8aa3469f26cb24d7602786476 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 23 Jul 2014 16:42:05 +0200 Subject: [PATCH] tests: build testing binaries for installcheck * tests/Makefile.am (installcheck-local): Depend on $(check_PROGRAMS) and also honor the DESTDIR variable. --- tests/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 6684d1d..777e4a1 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -255,8 +255,8 @@ check-full: #check_SCRIPTS = tar # Run the test suite on the *installed* tree. -installcheck-local: - $(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS) AUTOTEST_PATH=$(exec_prefix)/bin +installcheck-local: $(check_PROGRAMS) + $(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS) AUTOTEST_PATH=$(DESTDIR)$(exec_prefix)/bin ## ------------ ## -- 1.9.3