Use TMT instead of STI format gating tests; make license spec match upstream

This commit is contained in:
mulhern 2023-04-26 12:59:33 -04:00
parent 4d90729215
commit 69d57e8ae4
3 changed files with 31 additions and 16 deletions

26
plans/unit.fmf Normal file
View File

@ -0,0 +1,26 @@
summary: unit tests
prepare:
- name: Install Fedora dependencies
how: install
package:
- make
- pip
- python3-hypothesis
- name: Install hs-dbus-signature
how: shell
script: pip install hs-dbus-signature
- name: Install package
how: install
package: python-dbus-signature-pyparsing
discover:
how: shell
url: https://github.com/stratis-storage/dbus-signature-pyparsing
ref: v0.04
tests:
- name: unit
test: make test
execute:
how: tmt

View File

@ -2,10 +2,10 @@
Name: python-%{srcname} Name: python-%{srcname}
Version: 0.04 Version: 0.04
Release: 12%{?dist} Release: 13%{?dist}
Summary: Parser for a D-Bus Signature Summary: Parser for a D-Bus Signature
License: ASL 2.0 License: Apache-2.0
URL: https://github.com/stratis-storage/dbus-signature-pyparsing URL: https://github.com/stratis-storage/dbus-signature-pyparsing
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
@ -42,6 +42,9 @@ Python 3 version.
%{python3_sitelib}/dbus_signature_pyparsing-*.egg-info/ %{python3_sitelib}/dbus_signature_pyparsing-*.egg-info/
%changelog %changelog
* Wed Apr 26 2023 mulhern<amulhern@redhat.com> - 0.04-13
- Use TMT instead of STI format gating tests; make license spec match upstream
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.04-12 * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.04-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

View File

@ -1,14 +0,0 @@
---
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: ./
run: python -m unittest -v source/tests/test_deterministic.py