Martin Sivák has uploaded a new change for review. Change subject: Prepare for Fedora package review ......................................................................
Prepare for Fedora package review Change-Id: I5cff58bcc5b7e710a2f908c90ffa6c65db8b8f74 Signed-off-by: Martin Sivak <[email protected]> --- M Makefile M ovirt-scheduler-proxy.spec 2 files changed, 14 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-scheduler-proxy refs/changes/60/18860/1 diff --git a/Makefile b/Makefile index 4a75591..4ab6e18 100644 --- a/Makefile +++ b/Makefile @@ -33,8 +33,12 @@ all: test pep8 -test: +test: pythontest javatest + +pythontest: PYTHONPATH=src:$(PYTHONPATH) nosetests -v + +javatest: make start; mvn -f tests/java/pom.xml clean install; make stop pep8: diff --git a/ovirt-scheduler-proxy.spec b/ovirt-scheduler-proxy.spec index 5edad30..72055a8 100644 --- a/ovirt-scheduler-proxy.spec +++ b/ovirt-scheduler-proxy.spec @@ -36,12 +36,16 @@ Group: Virtualization/Management License: ASL 2.0 URL: http://www.ovirt.org -Source: http://ovirt.org/releases/stable/src/%{name}-%{version}.tar.gz +#Source: http://ovirt.org/releases/stable/src/%{name}-%{version}.tar.gz +Source: %{name}-%{version}.tar.gz BuildArch: noarch %if %{install_systemd} BuildRequires: systemd %endif + +BuildRequires: python2-devel +BuildRequires: python-nose Requires: python @@ -54,6 +58,8 @@ %prep %setup -q +# remove integration (java) tests +rm -rf tests %build %{__python} setup.py \ @@ -106,6 +112,8 @@ -dm 755 \ %{buildroot}%{_localstatedir}/log/ovirt-scheduler-proxy +%check +make pythontest %pre -- To view, visit http://gerrit.ovirt.org/18860 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5cff58bcc5b7e710a2f908c90ffa6c65db8b8f74 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-scheduler-proxy Gerrit-Branch: master Gerrit-Owner: Martin Sivák <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
