Re: check.h seems to be missing on the build-slave still

Hi Stefan, 

the problem is that script is being run with --disable-tests
from moduleset. Look:

$ jhbuild
--moduleset= --no-interact buildone gstreamer

*** Checking out gstreamer *** [1/1]

cvs -z3 -q -d :pserver:anoncvs anoncvs freedesktop org:/cvs/gstreamer
checkout -P -A gstreamer
U gstreamer/.cvsignore
U gstreamer/AUTHORS
U common/m4/gtk-doc.m4
U common/m4/pkg.m4
*** Configuring gstreamer *** [1/1]

./ -- --prefix /usr/local/buildslave/gnome/work/bin --libdir
'${exec_prefix}/lib64' --disable-tests --disable-static
+ options passed to configure:
--prefix /usr/local/buildslave/gnome/work/bin --libdir
${exec_prefix}/lib64 --disable-tests --disable-static --disable-gtk-doc

That --disable-tests is not in my .jhbuildrc file, of course :)

I tried to add --enable-tests to .jhbuildrc for gstreamer and it seems
to work, but having both --disable-tests and --enable-tests as
parameters for is quite confusing :). You can see the results

I think gstreamer should not build tests by default, thus get rid of
--disable-tests from modulesets and instead it should only build tests
when --enable-tests is provided explicitly. What do you think?

Btw, you can get a much better tests summary if you enable verbose
output in check (that way we can extract the unit tests executed in each
test program and the broken assertion for those that have failed). Take
a look here to see what I mean:

In order to enable verbose mode you can add this to the (in
case you're not setting verbosity level explicitly in your tests code):



On Sun, 2007-10-28 at 17:18 +0200, Stefan Kost wrote:
> hi,
> Stefan Kost schrieb:
> > hi,
> > 
> > could someone with access please install check >= 0.9.2 on the buildslaves?
> > 
> > Stefan
> olav thanks for installing check. Its there but somehow is not getting used. Is
> there a way to login on that machine?
> gstreamer build should show dozen of tests and not just 8 (non check based tests)
> The log
> indicates that configure is happy:
> checking for check named check_pic  - version >= 0.9.2... no
> *** Could not run check test program, checking why...
> *** The test program failed to compile or link. See the file config.log for
> *** the exact error that occured.
> checking for check named check  - version >= 0.9.2... yes
> configure: CHECK_CFLAGS:
> configure: CHECK_LIBS:  -lcheck
> Still when running make or make check, it does not enter gstreamer/tests/check.
> This can only be due to HAVE_CHECK=false for automake (see
> gstreamer/tests/
> If logging in is not possible, could I get the config.log from the build-slave?
> Could we add a link to the buildbox waterfall page to be able to fetch config.log?
> Stefan
> _______________________________________________
> Build-brigade-list mailing list
> Build-brigade-list gnome org

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