From 3afb8fffa56fc785750becde24fc861ab51815ae Mon Sep 17 00:00:00 2001 From: h3x2b Date: Tue, 15 Nov 2016 20:37:25 +0000 Subject: [PATCH] adding test exclusions also to armv7hl and ppc64le platforms --- python-yara.spec | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/python-yara.spec b/python-yara.spec index 46b9055..832821b 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -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 - 3.5.0-7 +- adding test exclusions also for armv7hl and ppc64le + * Mon Aug 16 2016 Michal Ambroz - 3.5.0-6 - additionally testEntrypoint testIn testIntegerFunctions failing on s390/ppc64 - exclude those tests for build of s390/ppc64