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..6bb5248 --- /dev/null +++ b/plans/unit.fmf @@ -0,0 +1,17 @@ +summary: stratisd unit tests + +prepare: + - name: Install packages + how: install + package: [stratisd, stratisd-tools, util-linux, python3-psutil] + +discover: + how: shell + url: https://github.com/stratis-storage/testing.git + ref: v3.5.2 + tests: + - name: unit + test: python3 stratisd_cert.py -v + +execute: + how: tmt diff --git a/stratisd.spec b/stratisd.spec index 1921062..8aecc94 100644 --- a/stratisd.spec +++ b/stratisd.spec @@ -5,7 +5,7 @@ Name: stratisd Version: 3.5.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Daemon that manages block devices to create filesystems License: (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND MIT AND MPL-2.0 AND (Unlicense OR MIT) @@ -180,6 +180,9 @@ a2x -f manpage docs/stratis-dumpmetadata.txt %{_mandir}/man8/stratis-dumpmetadata.8* %changelog +* Wed Jun 14 2023 Bryan Gurney - 3.5.7-2 +- Use tmt tests + * Wed Jun 07 2023 Bryan Gurney - 3.5.7-1 - Update to 3.5.7 diff --git a/tests/provision.fmf b/tests/provision.fmf deleted file mode 100644 index 1a4f0f0..0000000 --- a/tests/provision.fmf +++ /dev/null @@ -1,4 +0,0 @@ ---- -standard-inventory-qcow2: - qemu: - m: 3G # Amount of VM memory diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index c5807aa..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- hosts: localhost - roles: - - role: standard-test-basic - tags: - - classic - tests: - - simple: - dir: ./testing/ - run: > - python3 stratisd_cert.py -v - required_packages: - - util-linux - - python3-psutil - repositories: - - repo: "https://github.com/stratis-storage/testing.git" - dest: "testing" - version: "v3.5.2"