public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [tests/llvm] main: Add a spirv-llvm-translator test
Date: Fri, 20 Nov 2026 12:09:29 GMT [thread overview]
Message-ID: <179517656936.1.15116427387259196635.tests-llvm-d865a22fffc6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/llvm
Branch : main
Commit : d865a22fffc693bb8842556e24d00b0d151244f8
Author : Timm Bäder <tbaeder@redhat.com>
Date : 2026-11-17T13:27:24+01:00
Stats : +50/-0 in 2 file(s)
URL : https://src.fedoraproject.org/tests/llvm/c/d865a22fffc693bb8842556e24d00b0d151244f8?branch=main
Log:
Add a spirv-llvm-translator test
---
diff --git a/tests/spirv-llvm-translator/main.fmf b/tests/spirv-llvm-translator/main.fmf
new file mode 100644
index 0000000..74b6cf2
--- /dev/null
+++ b/tests/spirv-llvm-translator/main.fmf
@@ -0,0 +1,22 @@
+summary: spirv-llvm-translator
+framework: beakerlib
+description: Make sure building spirv-llvm-translator works.
+require+:
+ - rpm-build
+ - spirv-tools
+ - spirv-tools-devel
+ - cmake
+ - gcc
+ - gcc-c++
+ - llvm-devel
+ - llvm-static
+ - ninja-build
+ - spirv-headers-devel
+ - zlib-ng-compat-devel
+ - libffi-devel
+ - libxml2-devel
+ - spirv-llvm-translator
+tier: 1
+tag+:
+ - fedora-only
+duration: 15m
diff --git a/tests/spirv-llvm-translator/test.sh b/tests/spirv-llvm-translator/test.sh
new file mode 100755
index 0000000..a3fa9d6
--- /dev/null
+++ b/tests/spirv-llvm-translator/test.sh
@@ -0,0 +1,28 @@
+#!/bin/bash
+# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
+. /usr/share/beakerlib/beakerlib.sh || exit 1
+
+
+rlJournalStart
+ rlPhaseStartSetup
+ rlRun "set -o pipefail"
+ declare TmpDir
+ rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
+ rlRun "pushd $TmpDir"
+ rlPhaseEnd
+
+ # NOTE: Do not run dnf builddep here. TMT should take care of any packages needed to
+ # run the test. If the rpmbuild fails due to missing packages, then fmf metadata
+ # needs to be fixed.
+ rlPhaseStartTest
+ rlFetchSrcForInstalled "spirv-llvm-translator"
+ rlRun "rpmbuild --define \"_sourcedir $PWD\" --rebuild *.src.rpm"
+ rlPhaseEnd
+
+ rlPhaseStartCleanup
+ rlRun "popd"
+ rlRun "rm -rf $TmpDir" 0 "Removing tmp directory"
+ rlRun "rm -rf $(rpm -E '%_topdir')" 0 "Removing rpmbuild directory"
+ rlPhaseEnd
+
+rlJournalEnd
reply other threads:[~2026-11-20 12:09 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=179517656936.1.15116427387259196635.tests-llvm-d865a22fffc6@fedoraproject.org \
--to=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