Francesco Romani has uploaded a new change for review.

Change subject: configure: add support for nosetests/python 3.5
......................................................................

configure: add support for nosetests/python 3.5

Vdsm requires the nosetests package for python3.
To check for its availability, it looks for the nosetests-3.x
script.

The problem in this case is that due to packaging choices,
the nosetests script has a different name for each python 3.x
version.

On Fedora 24, the default python is 3.5, hence we must check
for either nosetests-3.4 (to be still compatible with Fedora 23)
OR nosetests-3.5

Change-Id: I1d5f0a8545ff0d3f3071a58f327a61892a57a71a
Signed-off-by: Francesco Romani <[email protected]>
---
M configure.ac
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/83/56083/1

diff --git a/configure.ac b/configure.ac
index 57b4a32..cf6816b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -284,6 +284,9 @@
 
   AC_PATH_PROG([PYTHON3_NOSE], [nosetests-3.4])
   if test "x$PYTHON3_NOSE" = "x"; then
+    AC_PATH_PROG([PYTHON3_NOSE], [nosetests-3.5])
+  fi
+  if test "x$PYTHON3_NOSE" = "x"; then
     AC_MSG_ERROR([python3-nose not found])
   fi
 fi


-- 
To view, visit https://gerrit.ovirt.org/56083
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1d5f0a8545ff0d3f3071a58f327a61892a57a71a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to