* Rafael Laboissière <raf...@laboissiere.net> [2023-01-05 16:22]:

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.

Please, consider the improved version of the patch attached to this message. Besides the --no-gui option, it also passes option --no-window-system to Octave, what is the appropriate for running the tests on headless systems.

Best,

Rafael Laboissière
Description: Run Octave non-interactive tests without graphical interface
Author: Rafael Laboissière <raf...@debian.org>
Forwarded: https://sourceforge.net/p/plplot/mailman/message/37757345/
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 --no-window-system -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