Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e2caf4fabe | ||
|
|
6903394795 | ||
|
|
f3145d9818 | ||
|
|
beb4d6c506 | ||
|
|
b84a90120a |
2 changed files with 12 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
summary: Trying opvp-driver from ArtifexSoftware
|
||||
summary: Trying opvp-driver from ArtifexSoftware
|
||||
test: ./test.sh
|
||||
contact: psklenar@redhat.com
|
||||
component:
|
||||
|
|
@ -7,6 +7,8 @@ framework: beakerlib
|
|||
require:
|
||||
- git
|
||||
- ghostscript
|
||||
- gcc
|
||||
- gcc
|
||||
duration: 35m
|
||||
tier: '2'
|
||||
extra-nitrate: TC#0617559
|
||||
id: 9f202f36-9b8d-4637-ad70-15ad32994191
|
||||
|
|
|
|||
|
|
@ -4,19 +4,25 @@
|
|||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
rlLog "`rpm -q ghostscript`"
|
||||
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
||||
rlRun "pushd $tmp"
|
||||
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"
|
||||
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 "ls ./ghostpdl/examples"
|
||||
for i in $(ls ./ghostpdl/examples/*.*);do
|
||||
rlLog "file $i"
|
||||
rlRun "gs -sDEVICE=opvp -sDriver=./ghostpdl/contrib/opvp/libopv.so -o output.txt -f $i"
|
||||
rlLog "--------------------"
|
||||
done
|
||||
rlRun "grep opvpOpenPrinter opvp_command_dump.txt"
|
||||
rlPhaseEnd
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue