Compare commits
No commits in common. "rawhide" and "f43" have entirely different histories.
8 changed files with 22 additions and 40 deletions
|
|
@ -1 +0,0 @@
|
|||
1
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
7
m4.spec
7
m4.spec
|
|
@ -1,8 +1,8 @@
|
|||
Summary: GNU macro processor
|
||||
Name: m4
|
||||
Version: 1.4.20
|
||||
Release: 3%{?dist}
|
||||
License: GPL-3.0-or-later AND GFDL-1.3-or-later AND FSFULLR AND GPL-3.0-or-later WITH Autoconf-exception-generic-3.0 AND GPL-3.0-or-later WITH Texinfo-exception AND GPL-2.0-or-later WITH Autoconf-exception-generic AND GPL-3.0-or-later WITH Autoconf-exception-generic-3.0 AND MIT
|
||||
Release: 2%{?dist}
|
||||
License: GPL-3.0-or-later AND GFDL-1.3-or-later
|
||||
Source0: https://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz
|
||||
Source1: https://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz.sig
|
||||
URL: https://www.gnu.org/software/m4/
|
||||
|
|
@ -50,9 +50,6 @@ make %{?_smp_mflags} check
|
|||
%{_mandir}/man1/m4.1*
|
||||
|
||||
%changelog
|
||||
* Fri Nov 14 2025 Florian Weimer <fweimer@redhat.com> - 1.4.20-3
|
||||
- Update License tag with build system licenses
|
||||
|
||||
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.20-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
summary: CI Gating Plan
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
16
tests/tests.yml
Normal file
16
tests/tests.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
# Tests for Classic and Container
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-beakerlib
|
||||
tags:
|
||||
- classic
|
||||
- container
|
||||
tests:
|
||||
- testsuite
|
||||
required_packages:
|
||||
- autoconf
|
||||
- automake
|
||||
- rpm-build
|
||||
- wget
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ $(METADATA): Makefile
|
|||
@echo "Type: Regression" >> $(METADATA)
|
||||
@echo "TestTime: 3h" >> $(METADATA)
|
||||
@echo "RunFor: m4" >> $(METADATA)
|
||||
@echo "Requires: m4 rpm-build autoconf automake gettext gcc" >> $(METADATA)
|
||||
@echo "Requires: m4" >> $(METADATA)
|
||||
@echo "Priority: Normal" >> $(METADATA)
|
||||
@echo "License: GPLv2+" >> $(METADATA)
|
||||
@echo "Confidential: no" >> $(METADATA)
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
summary: testsuite
|
||||
description: ''
|
||||
contact: Martin Cermak <mcermak@redhat.com>
|
||||
component:
|
||||
- m4
|
||||
test: ./runtest.sh
|
||||
framework: beakerlib
|
||||
require:
|
||||
- m4
|
||||
- gcc
|
||||
- rpm-build
|
||||
- autoconf
|
||||
- automake
|
||||
- gettext
|
||||
duration: 3h
|
||||
extra-summary: /tools/m4/Regression/testsuite
|
||||
extra-task: /tools/m4/Regression/testsuite
|
||||
7
tests/testsuite/runtest.sh
Executable file → Normal file
7
tests/testsuite/runtest.sh
Executable file → Normal file
|
|
@ -26,10 +26,10 @@
|
|||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# Include Beaker environment
|
||||
. /usr/bin/rhts-environment.sh || exit 1
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PACKAGE="m4"
|
||||
VERSION=$(rpm -q m4 --qf '%{VERSION}')
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
|
|
@ -48,8 +48,7 @@ rlJournalStart
|
|||
rlPhaseEnd
|
||||
|
||||
rlPhaseStart FAIL "Run tests"
|
||||
rlRun "pushd $TMPD/BUILD/m4-${VERSION}-build/m4-${VERSION}"
|
||||
rlRun "eval `rpm --eval %___build_pre_env`"
|
||||
rlRun "pushd $TMPD/BUILD/m4-*"
|
||||
# el7 package creates couple tests/*log files (per testcase)
|
||||
# el6 package doesn't, so we'll create some explicitly
|
||||
rlRun "make check > tests/testout.log 2> tests/testerr.log"
|
||||
|
|
@ -62,7 +61,7 @@ rlJournalStart
|
|||
rlPhaseEnd
|
||||
|
||||
rlPhaseStart FAIL "Check for no FAILed test"
|
||||
rlRun "[[ $(cat tests/*log | grep FAIL | grep -P -v '^#' | wc -l) -eq 0 ]]"
|
||||
rlRun "[[ $(cat tests/*log | grep -i FAIL | grep -P -v '^#' | wc -l) -eq 0 ]]"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStart FAIL "Show test results summary"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue