public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/virtme-ng] rawhide: Restructure tests to work around TMT bug
@ 2026-11-07 16:07
0 siblings, 0 replies; only message in thread
From: @ 2026-11-07 16:07 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/virtme-ng
Branch : rawhide
Commit : 587fa4fbd12c925d7d04b3f6f9fddb9efc467378
Author : Ondrej Mosnáček <omosnacek@gmail.com>
Date : 2026-11-07T16:52:02+01:00
Stats : +16/-15 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/virtme-ng/c/587fa4fbd12c925d7d04b3f6f9fddb9efc467378?branch=rawhide
Log:
Restructure tests to work around TMT bug
The `adjust` attribute doesn't work with tests defined via `discover:
how: shell` (see GH issue linked below). Work around it by using `how:
fmf` to discover tests.
Link: https://github.com/teemtee/tmt/issues/5321
Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
---
diff --git a/main.fmf b/main.fmf
new file mode 100644
index 0000000..331c976
--- /dev/null
+++ b/main.fmf
@@ -0,0 +1,16 @@
+/plans/ci:
+ summary: Run tests
+ discover:
+ how: fmf
+ execute:
+ how: tmt
+/tests:
+ /smoke:
+ summary: Basic smoke test
+ duration: 10m
+ require: [virtme-ng, qemu-kvm]
+ test: virtme-run --kimg --mods auto --script-sh lscpu
+ adjust:
+ - enabled: false
+ when: distro == fedora-eln
+ because: qemu-kvm isn't usable on ELN
diff --git a/plans/ci.fmf b/plans/ci.fmf
deleted file mode 100644
index 53924e0..0000000
--- a/plans/ci.fmf
+++ /dev/null
@@ -1,15 +0,0 @@
-summary: Run tests
-discover:
- how: shell
- tests:
- - name: /smoke
- summary: Basic smoke test
- duration: 10m
- require: [virtme-ng, qemu-kvm]
- test: virtme-run --kimg --mods auto --script-sh lscpu
- adjust:
- - enabled: false
- when: distro == fedora-eln
- because: qemu-kvm isn't usable on ELN
-execute:
- how: tmt
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-07 16:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-07 16:07 [rpms/virtme-ng] rawhide: Restructure tests to work around TMT bug
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox