[gpgme][PATCH] build: tests: avoid build tests if not required

Alon Bar-Lev alon.barlev at gmail.com
Fri Sep 30 19:49:55 CEST 2016


On 30 September 2016 at 19:36, Andre Heinecke
<andre.heinecke at intevation.de> wrote:
> Hi,
>
> On Friday 30 September 2016 15:54:05 Werner Koch wrote:
>> On Fri, 23 Sep 2016 22:38, alon.barlev at gmail.com said:
>> > test enables reducing dependencies for build if tests are not going to
>> > run.
>
> Mmh reducing dependencies I might be responsible for this. Is this because the
> Qt Testsuite additionally requires QTest?
>
> In that case I think it might be a better fix to build the Qt tests only if
> QTest is available. Would this work for you?

Yes.
However, autodetect is worse than just not build.
As if you ignore and run "make check" then nothing will run although it should.
So far I patched it to avoid users require QTest if no tests are to be executed.
I will follow whatever decision you may have, including forcing QTest
for users unconditionally, but I thought you have done this by
mistake.

Thanks.



More information about the Gnupg-devel mailing list