forked from jackaudio/jack2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_run.sh
executable file
·40 lines (39 loc) · 1.48 KB
/
test_run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
echo "`date`"
echo "$TRAVIS_OS_NAME"
echo "========================================================================="
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
#stop here if ./waf install wasn't successful
ls -l /usr/bin/jackd || exit
#find installed files
sudo updatedb
locate jack | grep -e "/usr/bin" -e "/usr/lib" -e "/usr/share/man" -e "/usr/include"
#show man pages
locate jack | grep /usr/share/man | grep "\.1" | while read line; do
man -P cat "$line"; done
#check for unused dependencies
ls -1 /usr/bin/jack_*|while read line; do
echo "checking unused dependencies for ${line}:"; ldd -r -u "$line"; done
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
#stop here if ./waf install wasn't successful
ls -l /usr/local/bin/jackd || exit
fi
echo "========================================================================="
jackd --version
echo "========================================================================="
sudo jackd -ddummy &
ret=$!
sleep 10
echo "========================================================================="
sudo jack_lsp
echo "========================================================================="
sudo jack_bufsize
echo "========================================================================="
sudo jack_test #--verbose
echo "========================================================================="
echo "stopping jackd now"
sudo kill -9 $ret
echo "========================================================================="
echo "`date`"
echo "done"
#EOF