From 2d9947b9d377e005d051d071434c0c2bb2002148 Mon Sep 17 00:00:00 2001 From: mulhern Date: Tue, 25 Apr 2023 10:56:29 -0400 Subject: [PATCH] Use tmt format testing specification --- .fmf/version | 1 + plans/unit.fmf | 14 ++++++++++++++ python-dbus-python-client-gen.spec | 5 ++++- tests/tests.yml | 14 -------------- 4 files changed, 19 insertions(+), 15 deletions(-) create mode 100644 .fmf/version create mode 100644 plans/unit.fmf delete mode 100644 tests/tests.yml diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plans/unit.fmf b/plans/unit.fmf new file mode 100644 index 0000000..4f3fac1 --- /dev/null +++ b/plans/unit.fmf @@ -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 diff --git a/python-dbus-python-client-gen.spec b/python-dbus-python-client-gen.spec index 5a7371d..ca21261 100644 --- a/python-dbus-python-client-gen.spec +++ b/python-dbus-python-client-gen.spec @@ -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 - 0.8.2-2 +- Use tmt format testing specification + * Thu Feb 23 2023 Bryan Gurney - 0.8.2-1 - Update to 0.8.2 diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 936f0a2..0000000 --- a/tests/tests.yml +++ /dev/null @@ -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