2011-10-24 20:55:49 +00:00
|
|
|
#!/bin/sh -ex
|
|
|
|
|
2016-12-15 20:10:28 +00:00
|
|
|
relpath=$(dirname $0)/../../../src/test/pybind
|
2015-04-27 09:00:39 +00:00
|
|
|
|
|
|
|
if [ -n "${VALGRIND}" ]; then
|
2017-05-31 19:57:39 +00:00
|
|
|
valgrind ${VALGRIND} --suppressions=${TESTDIR}/valgrind.supp \
|
|
|
|
--errors-for-leak-kinds=definite --error-exitcode=1 \
|
2019-12-16 17:49:20 +00:00
|
|
|
python3 -m nose -v $relpath/test_rbd.py
|
2015-04-27 09:00:39 +00:00
|
|
|
else
|
2019-12-16 17:49:20 +00:00
|
|
|
python3 -m nose -v $relpath/test_rbd.py
|
2015-04-27 09:00:39 +00:00
|
|
|
fi
|
2011-10-24 20:55:49 +00:00
|
|
|
exit 0
|