[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Valgrind check: No rule to make target 'check-TESTS'

From: Sébastien Wilmet
Subject: Re: Valgrind check: No rule to make target 'check-TESTS'
Date: Mon, 1 Aug 2016 16:24:13 +0200
User-agent: Mutt/1.6.2 (2016-07-01)

On Mon, Aug 01, 2016 at 03:02:05PM +0100, Philip Withnall wrote:
> I suspect you have added @VALGRIND_CHECK_RULES@ to
> $top_srcdir/, and are running `make check-valgrind-memcheck` 
> there. What you need to do instead is to add @VALGRIND_CHECK_RULES@ to
> $top_srcdir/testsuite/, and run `make -C testsuite check-
> valgrind-memcheck`.
> check-TESTS should be defined in $top_builddir/testsuite/,
> but not in $top_builddir/, since you don’t have any tests
> defined there.

Thanks for the quick reply, it was indeed that. The doc at the top of
ax_valgrind_check.m4 is correct, but not the doc at:

“3. Add @VALGRIND_CHECK_RULES to the top-level”

(BTW a @ is missing at the end of VALGRIND_CHECK_RULES).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]