Use tmt tests
Signed-off-by: Bryan Gurney <bgurney@redhat.com>
This commit is contained in:
parent
96c4682a86
commit
cb698c944e
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
17
plans/unit.fmf
Normal file
17
plans/unit.fmf
Normal file
@ -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
|
@ -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 <bgurney@redhat.com> - 3.5.7-2
|
||||
- Use tmt tests
|
||||
|
||||
* Wed Jun 07 2023 Bryan Gurney <bgurney@redhat.com> - 3.5.7-1
|
||||
- Update to 3.5.7
|
||||
|
||||
|
@ -1,4 +0,0 @@
|
||||
---
|
||||
standard-inventory-qcow2:
|
||||
qemu:
|
||||
m: 3G # Amount of VM memory
|
@ -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"
|
Loading…
Reference in New Issue
Block a user