adding test exclusions also to armv7hl and ppc64le platforms

This commit is contained in:
h3x2b 2016-11-15 20:37:25 +00:00
commit 3afb8fffa5

View file

@ -24,7 +24,7 @@
Name: python-%{srcname}
Version: 3.5.0
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Python binding for the YARA pattern matching tool
Group: Development/Libraries
@ -115,16 +115,13 @@ powerful features from Python scripts.
EXCLUDE=""
#Test for python-2.7 fails on testModuleData testcase on arm platform
%ifarch arm
%ifarch arm armv7hl
EXCLUDE='--exclude=^testModuleData$'
%endif
#Yara is not prepared to run on s390 - more tests failing on s390
#http://s390.koji.fedoraproject.org/kojifiles/work/tasks/9135/2399135/build.log
%ifarch s390
EXCLUDE='--exclude=^testModuleData$|^testEntrypoint$|^testIn$|^testIntegerFunctions$'
%endif
%ifarch ppc64
%ifarch s390 ppc64 ppc64le
EXCLUDE='--exclude=^testModuleData$|^testEntrypoint$|^testIn$|^testIntegerFunctions$'
%endif
@ -146,10 +143,7 @@ EXCLUDE='--exclude=^testCompare$|^testModuleData$'
#Yara is not prepared to run on s390 - more tests failing on s390
#http://s390.koji.fedoraproject.org/kojifiles/work/tasks/9135/2399135/build.log
%ifarch s390
EXCLUDE='--exclude=^testCompare$|^testModuleData$|^testEntrypoint$|^testIn$|^testIntegerFunctions$'
%endif
%ifarch ppc64
%ifarch s390 ppc64 ppc64le
EXCLUDE='--exclude=^testCompare$|^testModuleData$|^testEntrypoint$|^testIn$|^testIntegerFunctions$'
%endif
@ -178,6 +172,9 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v ./tests.py:TestYar
%changelog
* Mon Aug 16 2016 Michal Ambroz <rebus at, seznam.cz> - 3.5.0-7
- adding test exclusions also for armv7hl and ppc64le
* Mon Aug 16 2016 Michal Ambroz <rebus at, seznam.cz> - 3.5.0-6
- additionally testEntrypoint testIn testIntegerFunctions failing on s390/ppc64
- exclude those tests for build of s390/ppc64