Commit 2de53612 authored by Ruben Undheim's avatar Ruben Undheim

Multi-Arch: same. Fix test such that it ignores two specific messages on stderr related to no X11

parent bc866bcf
......@@ -115,6 +115,7 @@ Description: Development files for openems
Package: octave-openems
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends},
openems,
......
#!/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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment