public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/nasm] main: The tests moved to https://gitlab.com/redhat/centos-stream/tests/nasm
@ 2026-06-08 7:13
0 siblings, 0 replies; only message in thread
From: @ 2026-06-08 7:13 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : tests/nasm
Branch : main
Commit : ba3455d13c27d87b03092b5b4a5776546079173b
Author : Václav Kadlčík <vkadlcik@redhat.com>
Date : 2026-06-08T09:13:16+02:00
Stats : +2/-185 in 9 file(s)
URL : https://src.fedoraproject.org/tests/nasm/c/ba3455d13c27d87b03092b5b4a5776546079173b?branch=main
Log:
The tests moved to https://gitlab.com/redhat/centos-stream/tests/nasm
---
diff --git a/plans/all_tests.fmf b/plans/all_tests.fmf
index 3debdb2..dcdd624 100644
--- a/plans/all_tests.fmf
+++ b/plans/all_tests.fmf
@@ -1,5 +1,6 @@
summary: All available tests
discover:
how: fmf
+ url: https://gitlab.com/redhat/centos-stream/tests/nasm.git
execute:
how: tmt
diff --git a/plans/ci.fmf b/plans/ci.fmf
index 979e6aa..247f429 100644
--- a/plans/ci.fmf
+++ b/plans/ci.fmf
@@ -1,6 +1,7 @@
summary: CI Gating Plan
discover:
how: fmf
+ url: https://gitlab.com/redhat/centos-stream/tests/nasm.git
filter: 'tag: Fedora-CI-gating'
execute:
how: tmt
diff --git a/tests/Regression/testsuite2/main.fmf b/tests/Regression/testsuite2/main.fmf
deleted file mode 100644
index e7f0669..0000000
--- a/tests/Regression/testsuite2/main.fmf
+++ /dev/null
@@ -1,33 +0,0 @@
-summary: testsuite2
-description: ''
-contact: Martin Cermak <mcermak@redhat.com>
-enabled: true
-tag:
- - CI-Tier-1
- - Fedora-CI-gating
- - NoRHEL7
-adjust:
- - enabled: false
- when: distro < rhel-8
- continue: false
-component:
- - nasm
-test: ./runtest.sh
-framework: beakerlib
-require:
- - nasm
- - gcc
- - make
- - rpm-build
-recommend:
- - perl
- - autoconf
- - asciidoc
- - xmlto
- - dnf-utils
- - yum-utils
-duration: 48h
-extra-nitrate: TC#0598010
-extra-summary: /tools/nasm/Regression/testsuite2
-extra-task: /tools/nasm/Regression/testsuite2
-id: a668d619-6db1-462d-b5ca-1d136faaaaac
diff --git a/tests/Regression/testsuite2/runtest.sh b/tests/Regression/testsuite2/runtest.sh
deleted file mode 100755
index b1d67f2..0000000
--- a/tests/Regression/testsuite2/runtest.sh
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /tools/nasm/Regression/testsuite2
-# Description: testsuite2
-# Author: Martin Cermak <mcermak@redhat.com>
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2019 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGE="nasm"
-
-rlJournalStart
- rlPhaseStartSetup
- rlAssertRpm $PACKAGE
- rlRun "TMP=\$(mktemp -p /home -d)"
- # shellcheck disable=SC2154
- rlRun "pushd $TMP"
-
- rlFetchSrcForInstalled $PACKAGE
- rlRun "dnf builddep -y *src.rpm --nobest" 0-255 # best effort only
- rlRun "rpm --define='_topdir $TMP' -Uvh *src.rpm"
- rlRun "rpmbuild --define='_topdir $TMP' -bc SPECS/nasm.spec"
- rlPhaseEnd
-
- rlPhaseStartTest
- for TEST_DIR in BUILD/nasm-*/test BUILD/nasm-*/nasm-*/test; do
- [[ -d "$TEST_DIR" ]] && break
- done
- if rlRun "pushd $TEST_DIR"; then
- rlRun "./performtest.pl --golden --nasm=/usr/bin/nasm --verbose $(ls -- *.asm | grep -F -v _version.asm | tr '\n' ' ')"
- rlRun "./performtest.pl --nasm=/usr/bin/nasm --verbose $(ls -- *.asm | grep -F -v _version.asm | tr '\n' ' ')"
- rlRun "popd"
- fi
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TMP"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/tests/Sanity/smoke/files/false.asm b/tests/Sanity/smoke/files/false.asm
deleted file mode 100644
index adc9852..0000000
--- a/tests/Sanity/smoke/files/false.asm
+++ /dev/null
@@ -1,7 +0,0 @@
- global _start
-
- section .text
-_start:
- mov rax, 60 ; sys_exit call
- mov rdi, 1 ; value
- syscall
diff --git a/tests/Sanity/smoke/files/false.bin b/tests/Sanity/smoke/files/false.bin
deleted file mode 100644
index 15bc832..0000000
Binary files a/tests/Sanity/smoke/files/false.bin and /dev/null differ
diff --git a/tests/Sanity/smoke/files/true.asm b/tests/Sanity/smoke/files/true.asm
deleted file mode 100644
index aab62aa..0000000
--- a/tests/Sanity/smoke/files/true.asm
+++ /dev/null
@@ -1,7 +0,0 @@
- global _start
-
- section .text
-_start:
- mov rax, 60 ; sys_exit call
- mov rdi, 0 ; value
- syscall
diff --git a/tests/Sanity/smoke/main.fmf b/tests/Sanity/smoke/main.fmf
deleted file mode 100644
index 7af4724..0000000
--- a/tests/Sanity/smoke/main.fmf
+++ /dev/null
@@ -1,24 +0,0 @@
-summary: Smoke checks
-description: ''
-contact: Vaclav Kadlcik <vkadlcik@redhat.com>
-enabled: true
-tag:
- - CI-Tier-1
- - Fedora-CI-gating
- - NoRHEL7
-adjust:
- - enabled: false
- when: distro < rhel-8
- continue: false
-component:
- - nasm
-test: ./runtest.sh
-framework: beakerlib
-require:
- - nasm
- - binutils
-duration: 20m
-extra-nitrate: TC#0611445
-extra-summary: /tools/nasm/Sanity/smoke
-extra-task: /tools/nasm/Sanity/smoke
-id: 81569aa1-dbf3-480d-a3dc-ed7051398ab8
diff --git a/tests/Sanity/smoke/runtest.sh b/tests/Sanity/smoke/runtest.sh
deleted file mode 100755
index 2221627..0000000
--- a/tests/Sanity/smoke/runtest.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/usr/bin/env bash
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-rlJournalStart
- rlPhaseStartSetup
- rlRun "TmpDir=\$(mktemp -d)"
- # shellcheck disable=SC2154
- rlRun "cp files/* $TmpDir"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartTest man
- rlRun 'MANPAGER=cat MANWIDTH=16384 man nasm >man_nasm.out'
- rlRun 'MANPAGER=cat MANWIDTH=16384 man ndisasm >man_ndisasm.out'
- rlAssertGrep 'Netwide Assembler' man_nasm.out
- rlAssertGrep 'Netwide Disassembler' man_ndisasm.out
- rlPhaseEnd
-
- rlPhaseStartTest nasm
- for i in true false; do
-
- # nasm itself
- rlRun "nasm -felf64 ${i}.asm"
-
- # nasm is 80x86-specific so the following doesn't make sense
- # anywhere else
- if [[ $(uname -m) = x86_64 ]]; then
- rlRun "ld -o $i $i.o"
- if $i; then
- rlRun "./$i" 0
- else
- rlRun "./$i" 1
- fi
- fi
-
- done
- rlPhaseEnd
-
- rlPhaseStartTest ndisasm
- # ndisasm is quite limited, we can't use it on anything but 'raw' binary
- # code. "false.bin" is just the effective part "manually" cut out from
- # "false.o".
- rlRun 'ndisasm -b 64 false.bin >disassembled.txt'
- rlAssertGrep 'mov eax' disassembled.txt -i
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "rm -r $TmpDir"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-08 7:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-08 7:13 [tests/nasm] main: The tests moved to https://gitlab.com/redhat/centos-stream/tests/nasm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox