Description: Run Octave non-interactive tests without graphical interface
Author: Rafael Laboissière <rafael@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");
