Change in vdsm[master]: automation: Run unittests only over fedora mock

ybronhei at redhat.com ybronhei at redhat.com
Thu Mar 24 14:25:34 UTC 2016


Yaniv Bronhaim has uploaded a new change for review.

Change subject: automation: Run unittests only over fedora mock
......................................................................

automation: Run unittests only over fedora mock

Change-Id: I827d1c31bfc0edf907ff9c7210428facea9f01cb
Signed-off-by: Yaniv Bronhaim <ybronhei at redhat.com>
---
M automation/check-patch.sh
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/15/55215/1

diff --git a/automation/check-patch.sh b/automation/check-patch.sh
index 259481e..adc0754 100755
--- a/automation/check-patch.sh
+++ b/automation/check-patch.sh
@@ -6,7 +6,10 @@
 
 ./autogen.sh --system --enable-hooks
 
-make check NOSE_WITH_COVERAGE=1 NOSE_COVER_PACKAGE="$PWD/vdsm,$PWD/lib"
+# Run nosetests only over fedora mock
+if grep -q 'Fedora' /etc/redhat-release; then
+   make check NOSE_WITH_COVERAGE=1 NOSE_COVER_PACKAGE="$PWD/vdsm,$PWD/lib"
+fi
 
 ./automation/build-artifacts.sh
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I827d1c31bfc0edf907ff9c7210428facea9f01cb
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>


More information about the vdsm-patches mailing list