adding test exclusions also to armv7hl and ppc64le platforms
This commit is contained in:
parent
ec553891e3
commit
3afb8fffa5
1 changed files with 7 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue