public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mrtg] rawhide: tests-DSP: migrate to TMT
@ 2026-06-02 11:23 Vit Mojzis
  0 siblings, 0 replies; only message in thread
From: Vit Mojzis @ 2026-06-02 11:23 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/mrtg
            Branch : rawhide
            Commit : 815b43dd8922af12d2053eb9b667f11795166f81
            Author : Vit Mojzis <vmojzis@redhat.com>
            Date   : 2026-06-02T10:18:19+02:00
            Stats  : +23/-37 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/mrtg/c/815b43dd8922af12d2053eb9b667f11795166f81?branch=rawhide

            Log:
            tests-DSP: migrate to TMT

STI has been disabled https://fedoraproject.org/wiki/Changes/DisableSTI

---
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/dsp.fmf b/plans/dsp.fmf
new file mode 100644
index 0000000..4e291f1
--- /dev/null
+++ b/plans/dsp.fmf
@@ -0,0 +1,22 @@
+summary: DSP test suite
+discover:
+  - name: DSP_test
+    how: fmf
+    url: https://github.com/fedora-selinux/DSP_test.git
+    ref: main
+
+execute:
+    how: tmt
+
+environment:
+    trigger: FedoraCI
+    # DSP_test specific variables:
+    # RPM package containing the policy module
+    TEST_RPM: "mrtg-selinux"
+    # policy module name
+    TEST_POLICY: "mrtg"
+
+prepare:
+    how: install
+    package:
+        - mrtg-selinux

diff --git a/tests/tests-DSP.yml b/tests/tests-DSP.yml
deleted file mode 100644
index 6e2ba72..0000000
--- a/tests/tests-DSP.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-- hosts: localhost
-
-  roles:
-  - role: standard-test-beakerlib
-    tags:
-    - classic
-    repositories:
-      - repo: https://pagure.io/DSP_test.git
-        dest: DSP_test
-        version: master
-
-    tests:
-    - DSP_test
-    environment:
-      # RPM package containing the policy module
-      TEST_RPM: mrtg-selinux
-      # policy module name
-      TEST_POLICY: mrtg
-      # policy sources will be extracted from corresponding .src.rpm
-      # policy tar filename regexp (e.g. "usbguard-selinux*.tar.gz")
-      # or empty string if policy sources are not inside a tar archive
-      POLICY_TAR: ''
-      # path to policy sources (in of the tar archive) -- <POLICY_TAR>/<POLICY_PATH>/<TEST_POLICY>.(te|if|fc)
-      # or path in the src.rpm if there is no tar archive -- <src.rpm>/<POLICY_PATH>/<TEST_POLICY>.(te|if|fc)
-      # can contain wildcards (e.g. for versions etc.)
-      POLICY_PATH: .
-
-    required_packages:
-    - policycoreutils
-    - selinux-policy
-    - selinux-policy-targeted
-    - setools-console
-    - libselinux-utils
-    - rpm
-    - tar
-    - git
-    - mrtg

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-02 11:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-02 11:23 [rpms/mrtg] rawhide: tests-DSP: migrate to TMT Vit Mojzis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox