Hi Charles, On Dienstag, 17. März 2015, Charles Plessy wrote: > > On Dienstag, 17. März 2015, Charles Plessy wrote: > > > it is more complicated than this: the package builds fine with sbuild. > > Le Tue, Mar 17, 2015 at 12:00:20PM +0100, Holger Levsen a écrit : > > does it run the tests with sbuild too? (I assume not.) > > It runs the tests but skips some... > > which makes me think that the problem is not necessarly with pbuilder, but > rather with the build machine. For instance, in your case, it is > virtualised ?
it is, but how does it matter? Also, I see this on my laptop too, which is
real hardware. Interestingly in the pbuilder on the laptop the tests hang
forever, while on jenkins.d.n they fail...
(on my laptop the firewall is configured to silently drops outgoing packages
in pbuilder...)
> > ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
> >
> > override_dh_auto_test:
> > dh_auto_test
> > $(MAKE) test
> >
> > endif
> >
> > So when "nocheck" is defined in DEB_BUILD_OPTIONS it should run "make
> > test"???
>
> This is just Makefile syntax horror in all its splendor.
>
> if "nocheck" is not defined, then the result of findstring is empty, which
> is equal to the emptiness between "(" and "," after ifeq.
>
> It took me years to understand :)
ZOMG, thanks!
cheers,
Holger
signature.asc
Description: This is a digitally signed message part.

