]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/workunits/rados/test_python.sh: Allow specifying Python executable
authorOleh Prypin <oleh@pryp.in>
Thu, 18 Aug 2016 20:36:30 +0000 (23:36 +0300)
committerOleh Prypin <oleh@pryp.in>
Thu, 18 Aug 2016 20:36:32 +0000 (23:36 +0300)
(through an environment variable)

Signed-off-by: Oleh Prypin <oleh@pryp.in>
qa/workunits/rados/test_python.sh

index 2aaff2d15fd8efa7187f3b95c12d61d1388b08a1..da36bb850349d67e5e42eacfb43ad13a1a7ba846 100755 (executable)
@@ -4,5 +4,5 @@ CEPH_REF=${CEPH_REF:-master}
 #wget -q https://raw.github.com/ceph/ceph/$CEPH_REF/src/test/pybind/test_rados.py
 wget -O test_rados.py "https://git.ceph.com/?p=ceph.git;a=blob_plain;hb=$CEPH_REF;f=src/test/pybind/test_rados.py" || \
     wget -O test_rados.py "https://git.ceph.com/?p=ceph.git;a=blob_plain;hb=ref/heads/$CEPH_REF;f=src/test/pybind/test_rados.py"
-nosetests -v test_rados
+${PYTHON:-python} -m nose -v test_rados
 exit 0