public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Vit Mojzis <vmojzis@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mrtg] rawhide: tests-DSP: migrate to TMT
Date: Tue, 02 Jun 2026 11:23:52 GMT	[thread overview]
Message-ID: <178039943235.1.18325424185226696850.rpms-mrtg-815b43dd8922@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-06-02 11:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178039943235.1.18325424185226696850.rpms-mrtg-815b43dd8922@fedoraproject.org \
    --to=vmojzis@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox