diff options
Diffstat (limited to 'test-all.sh')
-rwxr-xr-x | test-all.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test-all.sh b/test-all.sh new file mode 100755 index 0000000..38dcfc2 --- /dev/null +++ b/test-all.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -euxo pipefail +cd "$(dirname "${0}")" +make +make check +sudo make check +cd tests +if which valgrind > /dev/null; then + ./test_bindfs.rb --valgrind + sudo ./test_bindfs.rb --valgrind +else + echo "Valgrind not installed. Not running tests with Valgrind." +end |