diff --git a/src/cwtest/setup.sh b/src/cwtest/setup.sh new file mode 100644 index 0000000..6c81a20 --- /dev/null +++ b/src/cwtest/setup.sh @@ -0,0 +1,5 @@ +export LD_LIBRARY_PATH=~/sdk/libwebsockets/build/out/lib + +# restart pulseaudio to free ALSA driver +systemctl --user restart pulseaudio + diff --git a/src/cwtest/valgrind_test.sh b/src/cwtest/valgrind_test.sh new file mode 100755 index 0000000..092a031 --- /dev/null +++ b/src/cwtest/valgrind_test.sh @@ -0,0 +1,4 @@ +valgrind --track-origins=yes --leak-check=yes --log-file=vg0.txt ../../build/linux/debug/bin/cwtest $1 $2 $3 $4 $5 + + +