Add zalsa configure flag, enabled by default if possible
[jack2.git] / .ci / test_run.sh
blob7cba993da515e75148b9897cc83031e3bfd1833e
1 #!/bin/bash
3 echo "`date`"
4 echo "$TRAVIS_OS_NAME"
5 echo "========================================================================="
6 if [ "$TRAVIS_OS_NAME" == "linux" ]; then
7 #stop here if ./waf install wasn't successful
8 ls -l /usr/bin/jackd || exit
9 #find installed files
10 sudo updatedb
11 locate jack | grep -e "/usr/bin" -e "/usr/lib" -e "/usr/share/man" -e "/usr/include"
12 #show man pages
13 locate jack | grep /usr/share/man | grep "\.1" | while read line; do
14 man -P cat "$line"; done
15 #check for unused dependencies
16 ls -1 /usr/bin/jack_*|while read line; do
17 echo "checking unused dependencies for ${line}:"; ldd -r -u "$line"; done
18 elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
19 #stop here if ./waf install wasn't successful
20 ls -l /usr/local/bin/jackd || exit
22 echo "========================================================================="
23 jackd --version
24 echo "========================================================================="
25 sudo jackd -ddummy &
26 ret=$!
27 sleep 10
28 echo "========================================================================="
29 sudo jack_lsp
30 echo "========================================================================="
31 sudo jack_bufsize
32 echo "========================================================================="
33 sudo jack_test #--verbose
34 echo "========================================================================="
35 echo "stopping jackd now"
36 sudo kill -9 $ret
37 echo "========================================================================="
38 echo "`date`"
39 echo "done"
40 #EOF