Dear PLplot developers,

When running the non-interactive tests for the Octave binding, it is preferable to run them with the --no-gui option of octave. This allows headless systems (without access to an X server) to run the tests. This is the case for the autobuilders of Debian. BTW, I am currently applying the patch attached to this message to the Debian package for PLplot and you might be interested in applying it to the PLplot source as well.

Best,

Rafael Laboissière
Description: Run Octave non-interactive tests with --no-gui option
Author: Rafael Laboissière <raf...@debian.org>
Forwarded: no
Last-Update: 2023-01-04

--- plplot-5.15.0+dfsg2.orig/plplot_test/test_octave.sh.in
+++ plplot-5.15.0+dfsg2/plplot_test/test_octave.sh.in
@@ -28,7 +28,7 @@ lang="o"
 export lang
 
 # Launch an Octave script that exercises all the demos
-$octave -f -q  <<EOF 2> octave_${device}_test.error
+$octave --no-gui -f -q  <<EOF 2> octave_${device}_test.error
 
 # Disable warnings about shadowed functions - PLplot is _supposed_ to shadow the core functions
 warning("off","Octave:shadowed-function");
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to