Compare commits

...
Sign in to create a new pull request.

9 commits

Author SHA1 Message Date
Cristian Le
4822172123 Ensure test is executable 2025-10-01 14:27:04 +02:00
Python Maint
676cc02d31 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:09:18 +02:00
Cristian Le
59251abe21 Convert STI tests to TMT (rhbz#2382867) 2025-08-21 19:20:15 +02:00
Python Maint
b67eb9fd30 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 12:40:20 +02:00
Fedora Release Engineering
940a961071 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 17:50:02 +00:00
Fedora Release Engineering
a5992c0c6e Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 12:46:29 +00:00
Fedora Release Engineering
9cfe41e4cb Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 18:31:15 +00:00
Jan Friesse
10f558600c Remove include_unit_test leftover
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
2024-06-07 17:50:28 +02:00
Jan Friesse
9bab0b3594 New upstream release
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
2024-06-07 08:51:54 +02:00
7 changed files with 42 additions and 21 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

View file

@ -22,7 +22,6 @@
%bcond_with html_man
%bcond_with glue
%bcond_with run_build_tests
%bcond_with include_unit_test
## User and group to use for nonprivileged services (should be in sync with pacemaker)
%global uname hacluster
@ -40,8 +39,8 @@
%global test_path %{_datadir}/booth/tests
Name: booth
Version: 1.1
Release: 3%{?dist}
Version: 1.2
Release: 6%{?dist}
Summary: Ticket Manager for Multi-site Clusters
License: GPL-2.0-or-later
Url: https://github.com/%{github_owner}/%{name}
@ -59,7 +58,7 @@ BuildRequires: asciidoctor
BuildRequires: gcc
BuildRequires: pkgconfig
# linking dependencies
BuildRequires: libgcrypt-devel
BuildRequires: gnutls-devel
BuildRequires: libxml2-devel
## just for <pacemaker/crm/services.h> include
BuildRequires: pacemaker-libs-devel
@ -164,9 +163,6 @@ Requires: %{name}-arbitrator = %{version}-%{release}
Requires: %{name}-site = %{version}-%{release}
Requires: gdb
Requires: %{__python3}
%if 0%{?with_include_unit_test}
Requires: python3-pexpect
%endif
# runtests.py suite (for perl and ss)
Requires: perl-interpreter iproute
@ -208,10 +204,6 @@ mkdir -p %{buildroot}/%{test_path}
# Copy tests from tarball
cp -a -t %{buildroot}/%{test_path} \
-- conf test
%if 0%{?with_include_unit_test}
cp -a -t %{buildroot}/%{test_path} \
-- unit-tests script/unit-test.py
%endif
chmod +x %{buildroot}/%{test_path}/test/booth_path
chmod +x %{buildroot}/%{test_path}/test/live_test.sh
mkdir -p %{buildroot}/%{test_path}/src
@ -294,6 +286,27 @@ VERBOSE=1 make check
%{_usr}/lib/ocf/resource.d/booth/sharedrsc
%changelog
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1.2-6
- Rebuilt for Python 3.14.0rc3 bytecode
* Thu Aug 21 2025 Cristian Le <git@lecris.dev>
- Convert STI tests to TMT (rhbz#2382867)
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1.2-5
- Rebuilt for Python 3.14.0rc2 bytecode
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Jan Friesse <jfriesse@redhat.com> - 1.2-1
- New upstream release
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

13
plans.fmf Normal file
View file

@ -0,0 +1,13 @@
summary: Run all tests
discover:
how: fmf
prepare:
- name: Disable installing everything from srpm
how: install
exclude: ".*"
- name: Install the main test package
how: install
package:
- booth-test
execute:
how: tmt

View file

@ -1 +1 @@
SHA512 (booth-1.1.tar.gz) = dacc3258dd9a5f0dd72406eae753fb4900922bd2d906817a28c9ece7d7a1caaf5fd16959f8dff450382105358f2898c594171ae229ccd94e4d07f49668b0410d
SHA512 (booth-1.2.tar.gz) = b63217e561fd5e8ede1ba432ec6b4ef6efb73dc16a501814cf07b82f87a23c3f734ebf09c56a5d521668ee57ed02be48d257aabb1d2e3c4840f1219ef13d3fde

3
tests/main.fmf Normal file
View file

@ -0,0 +1,3 @@
/upstream:
summary: Run upstream tests
test: ./upstream/runtest.sh

View file

@ -1,9 +0,0 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- upstream
required_packages:
- booth-test

0
tests/upstream/runtest.sh Normal file → Executable file
View file