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

Alon Bar-Lev alon.barlev at gmail.com
Fri Sep 30 14:42:13 CEST 2016


On 30 September 2016 at 15:29, Justus Winter <justus at g10code.com> wrote:
>
> Andre Heinecke <aheinecke at intevation.de> writes:
>
> > [ Unknown signature status ]
> > Hi,
> >
> > On Thursday 29 September 2016 20:53:40 Alon Bar-Lev wrote:
> >> Hi,
> >> Any comment?
> >
> > Werner: I think thats a question for you. For the Qt test I think this patch
> > is acceptable but as the patch is global for all the tests you should decide.
>
> I know Werner shot down a similar patch for GnuPG, arguing that 'make'
> is run more often than 'make check'.
>
> I agree with the proposed change, but not with the motivation.  Does
> that mean that on Gentoo the test are not being executed when building
> packages!?

Your question is actually:
Does that means that on "Automake" the test are not being executed
when build packages (aka make all)?
It has nothing to do with Gentoo...

Executing tests is optional in Automake, Gentoo and manual sequence as
there is no point of introducing additional dependencies and run
additional builds if tests are not to run.

Exactly because of this check_PROGRAMS exists and should be used for
targets that are used for check target.

Thanks,
Alon



More information about the Gnupg-devel mailing list