ceph/qa/workunits/rbd/test_librbd_python.sh
Sage Weil cf294777ea qa/workunits: use relative path instead of wget from git
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-15 15:10:28 -05:00

12 lines
248 B
Bash
Executable File

#!/bin/sh -ex
relpath=$(dirname $0)/../../../src/test/pybind
if [ -n "${VALGRIND}" ]; then
valgrind --tool=${VALGRIND} --suppressions=${TESTDIR}/valgrind.supp \
nosetests -v $relpath/test_rbd
else
nosetests -v $relpath/test_rbd
fi
exit 0