diff options
author | Ruben Undheim <ruben.undheim@gmail.com> | 2018-11-27 19:20:17 +0100 |
---|---|---|
committer | Ruben Undheim <ruben.undheim@gmail.com> | 2018-11-27 19:20:17 +0100 |
commit | 2de53612db4f7c358995cdb14a353624a1f1a958 (patch) | |
tree | 324bac09033b038126697d757816b6f17dcea811 /debian | |
parent | bc866bcf4bddadd7b1257969548886da579ca3e1 (diff) |
Multi-Arch: same. Fix test such that it ignores two specific messages on stderr related to no X11
Diffstat (limited to 'debian')
-rw-r--r-- | debian/control | 1 | ||||
-rwxr-xr-x | debian/tests/octave-load | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/debian/control b/debian/control index b63d891..f3ceb6e 100644 --- a/debian/control +++ b/debian/control @@ -115,6 +115,7 @@ Description: Development files for openems Package: octave-openems Architecture: any +Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends}, openems, diff --git a/debian/tests/octave-load b/debian/tests/octave-load index 637edef..89933be 100755 --- a/debian/tests/octave-load +++ b/debian/tests/octave-load @@ -1,10 +1,10 @@ -#!/bin/sh +#!/bin/bash set -e -octave --eval "pkg load openems" +octave -W --eval "pkg load openems" 2>&1 >/dev/stdout | grep -v X11 || true | grep -v "disabling GUI" || true ; test ${PIPESTATUS[0]} -eq 0 echo "Successfully loaded openems" -octave --eval "pkg load csxcad" +octave -W --eval "pkg load csxcad" 2>&1 >/dev/stdout | grep -v X11 || true | grep -v "disabling GUI" || true ; test ${PIPESTATUS[0]} -eq 0 echo "Successfully loaded csxcad" echo "done" |