Re: [PATCH] build: fix out-of-tree builds

Subject: Re: [PATCH] build: fix out-of-tree builds

Date: Fri, 08 Mar 2013 08:26:33 +0200

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: Jani Nikula


On Fri, 08 Mar 2013, David Bremner <david@tethera.net> wrote:
> Jani Nikula <jani@nikula.org> writes:
>> ---
>>
>> David, does the perf test still work for you with these changes?
>
>  make perf-test OPTIONS=--medium
>
> runs the time tests, but then fails with
>
> ./performance-test/notmuch-memory-test --medium
> make[1]: ./performance-test/notmuch-memory-test: Command not found
> make[1]: *** [memory-test] Error 127
> make[1]: Leaving directory `/home/bremner/software/upstream/notmuch'
> make: *** [perf-test] Error 2
>
> To be honest, the line 
>
> TIME_TEST_SCRIPT :=$ $(srcdir)/$(dir)/notmuch-time-test
>
> looks pretty strange to me, but that seems to be the one that is working

Oof, to be honest, that was a typo. The minimal change required to
*build* is:

-include $(dir)/version.sh
+include $(srcdir)/$(dir)/version.sh

and the rest was just a poor attempt at making perf test work too. I'll
look into it.

Jani.


Thread: