diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2021-01-30 14:41:53 +0200 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2021-01-30 14:41:53 +0200 |
commit | 591b5217af5537b1c0550643d42f446423c4618c (patch) | |
tree | 92ede6f512be07b27f9eb4ac0a5afe540d980383 /test-all.sh | |
parent | d1ea4a3417fe87c431e00d11494ef14a83ffe3fa (diff) | |
download | bindfs-591b5217af5537b1c0550643d42f446423c4618c.tar.gz |
Added script test-all.sh
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 |