On Wednesday 23 of July 2014 09:31:49 Gene Heskett wrote:
>> ...
>> Messy, very messy, testsuite.log attached. What did I do wrong?
>>
>> Cheers, Gene Heskett
>> ...
>
> Turned out I had to rebuild and reinstall amanda to effect that path
> change.  I have a script that automates that.
>
> However, 1.27.1 did pass ALL of amanda's "amcheck" and "make check" tests.
>
> But a megabyte of log, 1/2 of which is "FAILED"? Genuine spooky.  But
> we'll see if the email from amanda is any less mouthy tonight...

This is just small problem in Makefile.am (and not your fault at all) that
the testsuite-related binaries was not built for you.  To workaround that,
run 'make check' before 'make installcheck'.

Also, we could consider pushing attached patch.

Pavel
>From f024c3edeabe76e8aa3469f26cb24d7602786476 Mon Sep 17 00:00:00 2001
From: Pavel Raiskup <[email protected]>
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

Reply via email to