mirror of
https://github.com/ceph/ceph
synced 2024-12-20 18:33:44 +00:00
af04457a43
* use fixtures for temporary images and groups * use pytest.skip instead of nose.SkipTest * replace setUp/tearDown with setup/teardown_method * add @pytest.mark.skip_if_crimson * replace nose assertions Signed-off-by: Casey Bodley <cbodley@redhat.com>
13 lines
333 B
Bash
Executable File
13 lines
333 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 pytest -v $relpath/test_rbd.py "$@"
|
|
else
|
|
python3 -m pytest -v $relpath/test_rbd.py "$@"
|
|
fi
|
|
exit 0
|