aboutsummaryrefslogtreecommitdiffstats
path: root/test-all.sh
blob: e4352345d05fc2a6ef8b2fec39c10e578a247899 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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."
fi