From: Sage Weil Date: Mon, 19 Dec 2016 19:08:11 +0000 (-0500) Subject: qa/workunits: include extension for nose tests X-Git-Tag: v0.94.10~16^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d1c654ea3f3b8c194f3fdc7295cb379c6270d6b3;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) Conflicts: qa/workunits/fs/test_python.sh (not in hammer) qa/workunits/rbd/test_librbd_python.sh (no valgrind in hammer) --- diff --git a/qa/workunits/rados/test_python.sh b/qa/workunits/rados/test_python.sh index 60832df026c..80369c8d15a 100755 --- a/qa/workunits/rados/test_python.sh +++ b/qa/workunits/rados/test_python.sh @@ -1,4 +1,4 @@ #!/bin/sh -ex -${PYTHON:-python} -m nose -v $(dirname $0)/../../../src/test/pybind/test_rados +${PYTHON:-python} -m nose -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 72c975e4e64..118edf913d4 100755 --- a/qa/workunits/rbd/test_librbd_python.sh +++ b/qa/workunits/rbd/test_librbd_python.sh @@ -1,5 +1,5 @@ #!/bin/sh -ex relpath=$(dirname $0)/../../../src/test/pybind -nosetests -v $relpath/test_rbd +nosetests -v $relpath/test_rbd.py exit 0