Compare commits

..

5 commits

Author SHA1 Message Date
psklenar@redhat.com
e2caf4fabe file path 2024-06-12 11:54:30 +02:00
psklenar@redhat.com
6903394795 file by file 2024-06-12 10:00:34 +02:00
psklenar@redhat.com
f3145d9818 tmt test export 2024-06-12 09:46:01 +02:00
psklenar@redhat.com
beb4d6c506 show version 2024-06-11 11:11:35 +02:00
Petr Sklenar
b84a90120a Update Sanity/opvp-driver-from-ArtifexSoftware/test.sh 2024-06-10 07:21:37 +00:00
11 changed files with 13 additions and 79 deletions

1
README Normal file
View file

@ -0,0 +1 @@
Repository for ghostscript CI tests

View file

@ -10,5 +10,5 @@ require:
- gcc
duration: 35m
tier: '2'
extra-nitrate: TC#0617552
id: 8e6dd1f0-0166-4f4f-afb0-cd3296992f57
extra-nitrate: TC#0617559
id: 9f202f36-9b8d-4637-ad70-15ad32994191

View file

@ -10,7 +10,7 @@ rlJournalStart
rlRun "set -o pipefail"
rlPhaseEnd
rlPhaseStartTest "Test"
rlPhaseStartTest "Test the driver"
[ -d ghostpdl ] || rlRun "git clone https://github.com/psklenar/ghostpdl.git"
rlRun "pushd ghostpdl/contrib/opvp/"
rlRun "./build_opv_harness.sh"

View file

@ -11,7 +11,6 @@ test: ./runtest.sh
framework: beakerlib
recommend:
- ghostscript
- file
duration: 10m
enabled: true
tag:

View file

@ -77,14 +77,9 @@ for i in "ghostscript" "gs" "gsnd" "ps2ascii";do
done
rlPhaseStartTest 'pdf2dsc'
if rlIsRHELLike '>10'
then
rlLog "pdf2dsc is not maintained upstream, skipping"
else
rlRun "pdf2dsc IBM-RED-HAT-Press-Release-10-2018.pdf &> $LOG"
rlRun "cff $LOG"
rlRun "file IBM-RED-HAT-Press-Release-10-2018.dsc|grep DSC"
fi
rlRun "pdf2dsc IBM-RED-HAT-Press-Release-10-2018.pdf &> $LOG"
rlRun "cff $LOG"
rlRun "file IBM-RED-HAT-Press-Release-10-2018.dsc|grep DSC"
rlPhaseEnd
rlPhaseStartTest 'pdf2ps'

View file

@ -1,4 +1,2 @@
# QE owner
contact: Petr Sklenar <psklenar@redhat.com>
check:
- how: avc

View file

@ -1,5 +0,0 @@
summary: Run all tests
discover:
how: fmf
execute:
how: tmt

6
plans/ci.fmf Normal file
View file

@ -0,0 +1,6 @@
summary: CI plan, picks up all tests, runs in beakerlib.
discover:
- name: fedora
how: fmf
execute:
how: tmt

View file

@ -1,20 +0,0 @@
/public:
summary: Public other tests
discover:
how: fmf
filter: 'tier: -1 & tier: -2 & tier: -3 & tag: -multihost'
url: "https://src.fedoraproject.org/tests/ghostscript.git"
execute:
how: tmt
/internal:
summary: Internal other tests
discover:
how: fmf
filter: 'tier: -1 & tier: -2 & tier: -3 & tag: -multihost'
url: https://gitlab.com/redhat/rhel/tests/ghostscript
adjust:
enabled: false
when: distro == centos-stream or distro == fedora
execute:
how: tmt

View file

@ -1,20 +0,0 @@
/public:
summary: Public Tier1 tests
discover:
how: fmf
filter: 'tier: 1'
url: "https://src.fedoraproject.org/tests/ghostscript.git"
execute:
how: tmt
/internal:
summary: Internal Tier1 tests
discover:
how: fmf
filter: 'tier: 1'
url: https://gitlab.com/redhat/rhel/tests/ghostscript
adjust:
enabled: false
when: distro == centos-stream or distro == fedora
execute:
how: tmt

View file

@ -1,20 +0,0 @@
/public:
summary: Public Tier2 and Tier3 tests
discover:
how: fmf
filter: 'tier: 2 | tier: 3'
url: "https://src.fedoraproject.org/tests/ghostscript.git"
execute:
how: tmt
/internal:
summary: Internal Tier2 and Tier3 tests
discover:
how: fmf
filter: 'tier: 2 | tier: 3'
url: https://gitlab.com/redhat/rhel/tests/ghostscript
adjust:
enabled: false
when: distro == centos-stream or distro == fedora
execute:
how: tmt