adding opvp-driver-from-ArtifexSoftware
This commit is contained in:
parent
074c79f90f
commit
78be76d13c
3 changed files with 2417 additions and 0 deletions
2376
Sanity/opvp-driver-from-ArtifexSoftware/LICENSE
Normal file
2376
Sanity/opvp-driver-from-ArtifexSoftware/LICENSE
Normal file
File diff suppressed because one or more lines are too long
12
Sanity/opvp-driver-from-ArtifexSoftware/main.fmf
Normal file
12
Sanity/opvp-driver-from-ArtifexSoftware/main.fmf
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
summary: Trying opvp-driver from ArtifexSoftware
|
||||
test: ./test.sh
|
||||
contact: psklenar@redhat.com
|
||||
component:
|
||||
- ghostscript
|
||||
framework: beakerlib
|
||||
require:
|
||||
- git
|
||||
- ghostscript
|
||||
- gcc
|
||||
duration: 35m
|
||||
tier: '2'
|
||||
29
Sanity/opvp-driver-from-ArtifexSoftware/test.sh
Executable file
29
Sanity/opvp-driver-from-ArtifexSoftware/test.sh
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
#!/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 "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
||||
rlRun "pushd $tmp"
|
||||
rlRun "set -o pipefail"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest "Test"
|
||||
[ -d ghostpdl ] || rlRun "git clone https://github.com/psklenar/ghostpdl.git"
|
||||
rlRun "pushd ghostpdl/contrib/opvp/"
|
||||
rlRun "./build_opv_harness.sh"
|
||||
rlRun "ls libopv.so"
|
||||
rlLog "$(ls)"
|
||||
rlRun "popd"
|
||||
rlRun "gs -sDEVICE=opvp -sDriver=./ghostpdl/contrib/opvp/libopv.so -o output.txt -f ./ghostpdl/examples/*.*"
|
||||
rlRun "grep opvpOpenPrinter opvp_command_dump.txt"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rlFileSubmit opvp_command_dump.txt
|
||||
rlFileSubmit output.txt
|
||||
rlRun "popd"
|
||||
rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
||||
rlPhaseEnd
|
||||
rlJournalEnd
|
||||
Loading…
Add table
Add a link
Reference in a new issue