From: Oleh Prypin Date: Thu, 18 Aug 2016 20:36:30 +0000 (+0300) Subject: qa/workunits/rados/test_python.sh: Allow specifying Python executable X-Git-Tag: v11.0.1~436^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=20c5bcf592de87404cce723d42a833b35e2eebcd;p=ceph-ci.git qa/workunits/rados/test_python.sh: Allow specifying Python executable (through an environment variable) Signed-off-by: Oleh Prypin --- diff --git a/qa/workunits/rados/test_python.sh b/qa/workunits/rados/test_python.sh index 2aaff2d15fd..da36bb85034 100755 --- a/qa/workunits/rados/test_python.sh +++ b/qa/workunits/rados/test_python.sh @@ -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