Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e2caf4fabe | ||
|
|
6903394795 | ||
|
|
f3145d9818 | ||
|
|
beb4d6c506 | ||
|
|
b84a90120a |
11 changed files with 13 additions and 79 deletions
1
README
Normal file
1
README
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Repository for ghostscript CI tests
|
||||||
|
|
@ -10,5 +10,5 @@ require:
|
||||||
- gcc
|
- gcc
|
||||||
duration: 35m
|
duration: 35m
|
||||||
tier: '2'
|
tier: '2'
|
||||||
extra-nitrate: TC#0617552
|
extra-nitrate: TC#0617559
|
||||||
id: 8e6dd1f0-0166-4f4f-afb0-cd3296992f57
|
id: 9f202f36-9b8d-4637-ad70-15ad32994191
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ rlJournalStart
|
||||||
rlRun "set -o pipefail"
|
rlRun "set -o pipefail"
|
||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartTest "Test"
|
rlPhaseStartTest "Test the driver"
|
||||||
[ -d ghostpdl ] || rlRun "git clone https://github.com/psklenar/ghostpdl.git"
|
[ -d ghostpdl ] || rlRun "git clone https://github.com/psklenar/ghostpdl.git"
|
||||||
rlRun "pushd ghostpdl/contrib/opvp/"
|
rlRun "pushd ghostpdl/contrib/opvp/"
|
||||||
rlRun "./build_opv_harness.sh"
|
rlRun "./build_opv_harness.sh"
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ test: ./runtest.sh
|
||||||
framework: beakerlib
|
framework: beakerlib
|
||||||
recommend:
|
recommend:
|
||||||
- ghostscript
|
- ghostscript
|
||||||
- file
|
|
||||||
duration: 10m
|
duration: 10m
|
||||||
enabled: true
|
enabled: true
|
||||||
tag:
|
tag:
|
||||||
|
|
|
||||||
|
|
@ -77,14 +77,9 @@ for i in "ghostscript" "gs" "gsnd" "ps2ascii";do
|
||||||
done
|
done
|
||||||
|
|
||||||
rlPhaseStartTest 'pdf2dsc'
|
rlPhaseStartTest 'pdf2dsc'
|
||||||
if rlIsRHELLike '>10'
|
rlRun "pdf2dsc IBM-RED-HAT-Press-Release-10-2018.pdf &> $LOG"
|
||||||
then
|
rlRun "cff $LOG"
|
||||||
rlLog "pdf2dsc is not maintained upstream, skipping"
|
rlRun "file IBM-RED-HAT-Press-Release-10-2018.dsc|grep DSC"
|
||||||
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
|
|
||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartTest 'pdf2ps'
|
rlPhaseStartTest 'pdf2ps'
|
||||||
|
|
|
||||||
2
main.fmf
2
main.fmf
|
|
@ -1,4 +1,2 @@
|
||||||
# QE owner
|
# QE owner
|
||||||
contact: Petr Sklenar <psklenar@redhat.com>
|
contact: Petr Sklenar <psklenar@redhat.com>
|
||||||
check:
|
|
||||||
- how: avc
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
summary: Run all tests
|
|
||||||
discover:
|
|
||||||
how: fmf
|
|
||||||
execute:
|
|
||||||
how: tmt
|
|
||||||
6
plans/ci.fmf
Normal file
6
plans/ci.fmf
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
summary: CI plan, picks up all tests, runs in beakerlib.
|
||||||
|
discover:
|
||||||
|
- name: fedora
|
||||||
|
how: fmf
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
|
@ -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
|
|
||||||
|
|
@ -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
|
|
||||||
|
|
@ -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
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue