Added script test-all.sh

alpine-vm-issue106
Martin Pärtel 2 years ago
parent d1ea4a3417
commit 591b5217af
  1. 13
      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
Loading…
Cancel
Save