Use tmt format testing specification
This commit is contained in:
parent
82ad675b18
commit
2d9947b9d3
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
14
plans/unit.fmf
Normal file
14
plans/unit.fmf
Normal file
@ -0,0 +1,14 @@
|
||||
summary: unit tests
|
||||
|
||||
prepare:
|
||||
- name: Install package
|
||||
how: install
|
||||
package: python-dbus-python-client-gen
|
||||
|
||||
discover:
|
||||
how: shell
|
||||
url: https://github.com/stratis-storage/dbus-python-client-gen
|
||||
ref: v0.8.2
|
||||
|
||||
execute:
|
||||
script: make test
|
@ -2,7 +2,7 @@
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 0.8.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Python Library for Generating dbus-python Client Code
|
||||
|
||||
License: MPL-2.0
|
||||
@ -42,6 +42,9 @@ Python 3 version.
|
||||
%{python3_sitelib}/dbus_python_client_gen-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Tue Apr 25 2023 mulhern <amulhern@redhat.com> - 0.8.2-2
|
||||
- Use tmt format testing specification
|
||||
|
||||
* Thu Feb 23 2023 Bryan Gurney <bgurney@redhat.com> - 0.8.2-1
|
||||
- Update to 0.8.2
|
||||
|
||||
|
@ -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 discover -v source/tests
|
Loading…
Reference in New Issue
Block a user