1
0

Accepting request 921381 from home:expeehaa:branches:devel:tools:scm

- Add a test blacklist and run tests on all distributions.

I added these changes before submitting the previous request, but somehow they weren't submitted. 
This will fix the build failures on Tumbleweed.

OBS-URL: https://build.opensuse.org/request/show/921381
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/mercurial-extension-hg-evolve?expand=0&rev=2
This commit is contained in:
Martin Pluskal 2021-09-29 07:19:08 +00:00 committed by Git OBS Bridge
parent 5fe478d08f
commit ca36e43fa2
3 changed files with 14 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 24 22:11:01 UTC 2021 - Lukas Müller <expeehaa@outlook.com>
- Add a test blacklist and run tests on all distributions.
-------------------------------------------------------------------
Mon Sep 20 18:44:53 UTC 2021 - Lukas Müller <expeehaa@outlook.com>

View File

@ -15,12 +15,6 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%if 0%{?suse_version} >= 1550
%bcond_without test
%else
%bcond_with test
%endif
Name: mercurial-extension-hg-evolve
Version: 10.3.3
Release: 0
@ -28,13 +22,17 @@ Summary: Flexible evolution of Mercurial history
License: GPL-2.0+
Group: Development/Tools/Version Control
URL: https://www.mercurial-scm.org/doc/evolution/
Source: https://files.pythonhosted.org/packages/source/h/hg-evolve/hg-evolve-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/source/h/hg-evolve/hg-evolve-%{version}.tar.gz
Source90: tests.blacklist
BuildRequires: python-rpm-macros
BuildRequires: python3
BuildRequires: python3-setuptools
BuildRequires: python3-pyflakes
BuildRequires: python3-flake8
BuildRequires: fdupes
BuildRequires: mercurial
BuildRequires: mercurial-tests
BuildRequires: unzip
Requires: mercurial
BuildArch: noarch
@ -57,10 +55,8 @@ rm %{buildroot}%{python3_sitelib}/hgext3rd/__pycache__/__init__*.pyc
%fdupes %{buildroot}%{python3_sitelib}
%check
%if %{with test}
cd tests
python3 %{_datadir}/mercurial/tests/run-tests.py --with-hg=%{_bindir}/hg
%endif
python3 %{_datadir}/mercurial/tests/run-tests.py --with-hg=%{_bindir}/hg --blacklist=%{SOURCE90}
%files
%doc CHANGELOG README.rst

3
tests.blacklist Normal file
View File

@ -0,0 +1,3 @@
test-check-sdist.t
test-check-compat-strings.t