File: test-all.sh

package info (click to toggle)
bindfs 1.18.4-0.1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 2,008 kB
  • sloc: sh: 4,442; ansic: 4,287; ruby: 1,288; makefile: 47
file content (13 lines) | stat: -rwxr-xr-x 276 bytes parent folder | download
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