omit testCompileFile for s390x architecture

This commit is contained in:
Michal Ambroz 2017-07-18 14:52:45 +00:00
commit 6e8f36775f

View file

@ -125,10 +125,13 @@ EXCLUDE=""
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
# 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
# https://github.com/VirusTotal/yara-python/issues/25
# 3.6.3 - testCompileFile started failing - https://kojipkgs.fedoraproject.org//work/tasks/9619/20589619/build.log
# https://github.com/VirusTotal/yara-python/issues/54
%ifarch s390 s390x %{power64}
EXCLUDE='--exclude=^testModuleData$|^testEntrypoint$|^testIn$|^testIntegerFunctions$'
EXCLUDE='--exclude=^testModuleData$|^testEntrypoint$|^testIn$|^testIntegerFunctions$|^testCompileFile$'
%endif
#Find the NOSETEST binary or use false if not present
@ -147,10 +150,13 @@ PYTHONPATH=%{buildroot}/%{python2_sitearch}/ "$NOSETESTS2" -v ./tests.py:TestYar
%if 0%{?with_python3}
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
# 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
# https://github.com/VirusTotal/yara-python/issues/25
# 3.6.3 - testCompileFile started failing - https://kojipkgs.fedoraproject.org//work/tasks/9619/20589619/build.log
# https://github.com/VirusTotal/yara-python/issues/54
%ifarch s390 s390x %{power64}
EXCLUDE='--exclude=^testCompare$|^testModuleData$|^testEntrypoint$|^testIn$|^testIntegerFunctions$'
EXCLUDE='--exclude=^testCompare$|^testModuleData$|^testEntrypoint$|^testIn$|^testIntegerFunctions$|^testCompileFile$'
%endif
#Find the NOSETEST binary or use false if not present
@ -180,6 +186,7 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v ./tests.py:TestYar
%changelog
* Mon Jul 17 2017 Michal Ambroz <rebus at, seznam.cz> - 3.6.3-2
- fix bogus dates in the changelog
- omit failing testCompileFile test for s390/ppc64
* Mon Jul 17 2017 Michal Ambroz <rebus at, seznam.cz> - 3.6.3-1
- bump to upstream 3.6.3 release version