mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
889446a515
Ubuntu is /usr/bin/nosetests3, el is /usr/bin/nosetests-3, so do neither. Signed-off-by: Sage Weil <sage@redhat.com>
13 lines
319 B
Bash
Executable File
13 lines
319 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
relpath=$(dirname $0)/../../../src/test/pybind
|
|
|
|
if [ -n "${VALGRIND}" ]; then
|
|
valgrind ${VALGRIND} --suppressions=${TESTDIR}/valgrind.supp \
|
|
--errors-for-leak-kinds=definite --error-exitcode=1 \
|
|
python3 -m nose -v $relpath/test_rbd.py
|
|
else
|
|
python3 -m nose -v $relpath/test_rbd.py
|
|
fi
|
|
exit 0
|