[Pkg-octave-devel] Running tests under xvfb [was: Re: [RFU] octave-ltlfat 1.4.4-1]
Rafael Laboissiere
rafael at laboissiere.net
Tue May 20 13:00:20 UTC 2014
Could anybody test the new feature described below I added to
octave-pkg-dev?
Rafael
* Rafael Laboissiere <rafael at laboissiere.net> [2014-05-16 14:25]:
> * Sébastien Villemot <sebastien at debian.org> [2014-05-15 00:52]:
>
>> I get the same. I guess it's FLTK-related. If I add
>> "graphics_toolkit gnuplot;" then octave doesn't crash (but I get a
>> ghostscript error).
>
> Thanks for the suggestion. I implemented the change in in Git (commit
> e994cfb). There is now a variable called OCTPKG_TEST_ENV, whose value
> is prepended to the Octave command whn running the tests.
>
> I tested this in octave-ltfat (commit 45f5678), using
> "graphics_toolkit gnuplot;" in debian/check.m. For that to work, the
> package build-depends now on xvfb, xauth, and gnuplot, and there is
> the following in debian/rules:
>
> include /usr/share/cdbs/1/class/octave-pkg.mk
> OCTPKG_TEST_ENV = xvfb-run
>
> The package builds apparently fine, but I see errors like the
> following in the build log:
>
> gnuplot> set terminal x11 enhanced title "Figure 1"
> ^
> line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list
>
> I think this is the error you mentioned.
>
> Rafael
>
>
> _______________________________________________
> Pkg-octave-devel mailing list
> Pkg-octave-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-octave-devel
>
More information about the Pkg-octave-devel
mailing list