Changeset 1589 for pykota/trunk
- Timestamp:
- 07/03/04 10:29:26 (20 years ago)
- Location:
- pykota/trunk/tests
- Files:
-
- 1 added
- 1 removed
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/tests/README
r1588 r1589 20 20 ==================================================================== 21 21 22 This directory contains a PostScript file, master.ps, obtained by23 printing to a file a part of the SlashDot.org website from the24 Galeon web browser on July 2nd 2004.22 This directory contains a gzipped PostScript file, master.ps.gz, 23 obtained by printing to a file a part of the SlashDot.org website 24 from the Galeon web browser on July 2nd 2004. 25 25 26 This 16 pages file can be used to test the accuracy of the generic 27 Page Description Language analyzer included in PyKota for different 28 conversion outputs of gs. 26 When uncompressed, this 16 pages file can be used to test the 27 accuracy of the generic Page Description Language analyzer included 28 in PyKota for different conversion outputs of gs. 29 29 30 30 To see if it works, simply launch : -
pykota/trunk/tests/runtest.sh
r1588 r1589 2 2 3 3 echo -n "Generating testsuite..." 4 /bin/rm -f testsuite.* 4 /bin/rm -f testsuite.* master2.ps 5 gunzip <master.ps.gz >master2.ps 5 6 for device in laserjet ljet3 ljet4 lj5gray lj5mono pxlmono pxlcolor pdfwrite pswrite psgray psmono psrgb ; do 6 gs -dQUIET -dBATCH -dNOPAUSE -sOutputFile="testsuite.$device" -sDEVICE="$device" master .ps ;7 gs -dQUIET -dBATCH -dNOPAUSE -sOutputFile="testsuite.$device" -sDEVICE="$device" master2.ps ; 7 8 done 8 9 echo 9 10 10 11 echo -n "File master.ps should be 16 pages long, result is : " 11 python ../pykota/pdlanalyzer.py master .ps12 python ../pykota/pdlanalyzer.py master2.ps 12 13 13 14 echo "Analyzing testsuite..."