Yaniv Bronhaim has uploaded a new change for review. Change subject: add python3 run for lib/infra tests ......................................................................
add python3 run for lib/infra tests Change-Id: Ibfbc36e21fa7f92177adffc4ce71e81cb88b6706 Signed-off-by: Yaniv Bronhaim <ybron...@redhat.com> --- M configure.ac M lib/vdsm/infra/eventfd/Makefile.am M lib/vdsm/infra/filecontrol/Makefile.am M lib/vdsm/infra/sigutils/Makefile.am M lib/vdsm/infra/zombiereaper/Makefile.am 5 files changed, 20 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/97/52597/1 diff --git a/configure.ac b/configure.ac index cb35c71..96fc6a5 100644 --- a/configure.ac +++ b/configure.ac @@ -250,6 +250,11 @@ AC_MSG_WARN([python3 not found]) fi +AC_PATH_PROG([PYTHON3_NOSE], [nosetests-3.4]) +if test "x$PYTHON3_NOSE" = "x"; then + AC_MSG_WARN([python3-nose not found]) +fi + # Checking for python-devel AC_PATH_PROG([PYTHON_CONFIG], [python-config]) if test "x$PYTHON_CONFIG" = "x"; then diff --git a/lib/vdsm/infra/eventfd/Makefile.am b/lib/vdsm/infra/eventfd/Makefile.am index e4fc0ba..85f2592 100644 --- a/lib/vdsm/infra/eventfd/Makefile.am +++ b/lib/vdsm/infra/eventfd/Makefile.am @@ -31,4 +31,7 @@ $(NULL) check-local: + if [ -x "$(PYTHON3_NOSE)" ]; then \ + "$(PYTHON3_NOSE)" tests.py \ + fi nosetests tests.py diff --git a/lib/vdsm/infra/filecontrol/Makefile.am b/lib/vdsm/infra/filecontrol/Makefile.am index 4d33b22..8791001 100644 --- a/lib/vdsm/infra/filecontrol/Makefile.am +++ b/lib/vdsm/infra/filecontrol/Makefile.am @@ -31,4 +31,8 @@ $(NULL) check-local: + + if [ -x "$(PYTHON3_NOSE)" ]; then \ + "$(PYTHON3_NOSE)" tests.py \ + fi nosetests tests.py diff --git a/lib/vdsm/infra/sigutils/Makefile.am b/lib/vdsm/infra/sigutils/Makefile.am index 525bcfb..564617b 100644 --- a/lib/vdsm/infra/sigutils/Makefile.am +++ b/lib/vdsm/infra/sigutils/Makefile.am @@ -32,4 +32,8 @@ $(NULL) check-local: + + if [ -x "$(PYTHON3_NOSE)" ]; then \ + "$(PYTHON3_NOSE)" tests.py \ + fi nosetests tests.py diff --git a/lib/vdsm/infra/zombiereaper/Makefile.am b/lib/vdsm/infra/zombiereaper/Makefile.am index e8eef8c..53737f9 100644 --- a/lib/vdsm/infra/zombiereaper/Makefile.am +++ b/lib/vdsm/infra/zombiereaper/Makefile.am @@ -31,4 +31,8 @@ $(NULL) check-local: + + if [ -x "$(PYTHON3_NOSE)" ]; then \ + "$(PYTHON3_NOSE)" tests.py \ + fi nosetests tests.py -- To view, visit https://gerrit.ovirt.org/52597 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibfbc36e21fa7f92177adffc4ce71e81cb88b6706 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Yaniv Bronhaim <ybron...@redhat.com> _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches