blob: 595849290f416f8cf3d44c269ff992f48a14922e (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
10
11
 | #!/bin/sh -eu
if [ ! -x ./test_rate_limiter ]; then
    cd `dirname "$0"`
fi
if [ -n "`which valgrind`" ]; then
    valgrind --error-exitcode=100 ./test_rate_limiter
else
    echo "Warning: valgrind not found. Running without."
    ./test_rate_limiter
fi
 |