File: octave-no-gui-test.patch

package info (click to toggle)
plplot 5.15.0%2Bdfsg2-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,484 kB
  • sloc: ansic: 79,703; xml: 28,583; cpp: 20,033; ada: 19,456; tcl: 12,081; f90: 11,431; ml: 7,276; java: 6,863; python: 6,792; sh: 3,274; perl: 828; lisp: 75; makefile: 74; sed: 34; fortran: 6
file content (16 lines) | stat: -rw-r--r-- 705 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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");