Commit 3e7f37f0 authored by Alejandro Alvarez Ayllon's avatar Alejandro Alvarez Ayllon
Browse files

FTS-142: Run tests in el7 too

parent 632c515e
......@@ -13,9 +13,12 @@ Source0:
BuildRequires: cmake
BuildRequires: python-jsonschema
%if 0%{?el6}
%if %{?rhel}%{!?rhel:0} == 6
BuildRequires: python-nose1.1
%if %{?rhel}%{!?rhel:0} >= 7
BuildRequires: python-nose
BuildRequires: python-pylons
BuildRequires: scipy
BuildRequires: m2crypto
......@@ -112,11 +115,15 @@ fi
make %{?_smp_mflags}
%if 0%{?el6}
pushd src/fts3rest
%if %{?rhel}%{!?rhel:0} == 6
PYTHONPATH=../ nosetests1.1 --with-xunit --xunit-file=/tmp/nosetests.xml
%if %{?rhel}%{!?rhel:0} >= 7
PYTHONPATH=../ ./ install --user
PYTHONPATH=../ nosetests --with-xunit --xunit-file=/tmp/nosetests.xml
mkdir -p %{buildroot}
#!/usr/bin/env python
from setuptools import setup
pylons = pylons.test:PylonsPlugin
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment