From ef3f224f195d99e75685fa5c7525f96fca7235dc Mon Sep 17 00:00:00 2001 From: "kevin.larke" Date: Tue, 24 Mar 2020 08:40:52 -0400 Subject: [PATCH] setup.sh, valgrind_test.sh : Moved from cw_rt. --- src/cwtest/setup.sh | 5 +++++ src/cwtest/valgrind_test.sh | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 src/cwtest/setup.sh create mode 100755 src/cwtest/valgrind_test.sh 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 + + +