]> rtime.felk.cvut.cz Git - novaboot.git/commitdiff
tests: Skip server tests during Debian package build
authorMichal Sojka <michal.sojka@cvut.cz>
Tue, 26 Jan 2021 18:41:45 +0000 (19:41 +0100)
committerMichal Sojka <michal.sojka@cvut.cz>
Tue, 26 Jan 2021 18:41:45 +0000 (19:41 +0100)
tests/server.wv

index 4a4cd2552e5372c954dcb98f39abbbcd25f66546..eddc28d1012f3ba16db1ac5bdfe4513c1f034d5e 100755 (executable)
@@ -137,6 +137,11 @@ console_cmd=console_cmd'
     WVPASS run_server console | tee /dev/stderr | WVPASS grep -F "Hello user"
 )
 
+if [ -n "$DEB_HOST_ARCH" ]; then
+    echo >&2 "Skipping server tests in Debian package build, because these cannot pass."
+    exit 0
+fi
+
 SHELLRC="$NBT_HOME/.novaboot-shell"
 TFTPROOT="$NBT_HOME/tftproot"
 AUTH="$NBT_HOME/.ssh/authorized_keys"