From d5881b947e06e98ef0737f656d9977e095ab2c60 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Tue, 26 Aug 2025 11:48:23 -0400 Subject: [PATCH] TMT: additions to make local TMT runs similar to testing-farm Signed-off-by: Lokesh Mandvekar --- plans/main.fmf | 8 ++++++++ systemtest/tmt/main.fmf | 9 +++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/plans/main.fmf b/plans/main.fmf index 1bc9fef7..fa18986c 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -24,3 +24,11 @@ prepare: fi dnf -y upgrade --allowerasing order: 20 + - name: Disable installing everything from srpm + how: install + exclude: + - ".*" + - name: Install the main package + how: install + package: + - skopeo-tests diff --git a/systemtest/tmt/main.fmf b/systemtest/tmt/main.fmf index de3517e6..e3090563 100644 --- a/systemtest/tmt/main.fmf +++ b/systemtest/tmt/main.fmf @@ -1,6 +1,3 @@ -require: - - skopeo-tests - environment: SKOPEO_BINARY: /usr/bin/skopeo @@ -11,8 +8,12 @@ adjust: summary: System test test: | - rpm -q containers-common skopeo skopeo-tests + rpm -q containers-common skopeo-tests # If these tests are to be run anywhere else, TMT can fetch # them using the URL and git ref, so git commands should work. make -C $(git rev-parse --show-toplevel) test-system-local +require: + - git-core + - make + - skopeo-tests duration: 60m