From: Sage Weil Date: Mon, 19 Dec 2016 19:08:11 +0000 (-0500) Subject: qa/workunits: include extension for nose tests X-Git-Tag: v10.2.6~144^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=efaedb355dbc4697a3f9c3147053a5c92642e785;p=ceph.git qa/workunits: include extension for nose tests When you have a relative path you have to include the extension. Weird. Signed-off-by: Sage Weil (cherry picked from commit 5666fd61d6dbd40be1d79354227cabd562e829ea) Signed-off-by: Nathan Cutler Conflicts: qa/workunits/rados/test_python.sh (nosetests instead of nose) --- diff --git a/qa/workunits/fs/test_python.sh b/qa/workunits/fs/test_python.sh index 7613dcf45dcb..656d89f066b7 100755 --- a/qa/workunits/fs/test_python.sh +++ b/qa/workunits/fs/test_python.sh @@ -2,5 +2,5 @@ # Running as root because the filesystem root directory will be # owned by uid 0, and that's where we're writing. -sudo nosetests -v $(dirname $0)/../../../src/test/pybind/test_cephfs +sudo nosetests -v $(dirname $0)/../../../src/test/pybind/test_cephfs.py exit 0 diff --git a/qa/workunits/rados/test_python.sh b/qa/workunits/rados/test_python.sh index a5c792977dc7..7cdb39e15a3c 100755 --- a/qa/workunits/rados/test_python.sh +++ b/qa/workunits/rados/test_python.sh @@ -1,4 +1,4 @@ #!/bin/sh -ex -nosetests -v $(dirname $0)/../../../src/test/pybind/test_rados +nosetests -v $(dirname $0)/../../../src/test/pybind/test_rados.py exit 0 diff --git a/qa/workunits/rbd/test_librbd_python.sh b/qa/workunits/rbd/test_librbd_python.sh index 0e607eec4386..9bef91b4ebfe 100755 --- a/qa/workunits/rbd/test_librbd_python.sh +++ b/qa/workunits/rbd/test_librbd_python.sh @@ -4,8 +4,8 @@ relpath=$(dirname $0)/../../../src/test/pybind if [ -n "${VALGRIND}" ]; then valgrind --tool=${VALGRIND} --suppressions=${TESTDIR}/valgrind.supp \ - nosetests -v $relpath/test_rbd + nosetests -v $relpath/test_rbd.py else - nosetests -v $relpath/test_rbd + nosetests -v $relpath/test_rbd.py fi exit 0