root / pykota / trunk / tests / runtest.sh @ 1621

Revision 1589, 0.6 kB (checked in by jalet, 20 years ago)

Replaced uncompressed version of the PostScript? file with a compressed version

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1#! /bin/sh
2
3echo -n "Generating testsuite..."
4/bin/rm -f testsuite.* master2.ps
5gunzip <master.ps.gz >master2.ps
6for device in laserjet ljet3 ljet4 lj5gray lj5mono pxlmono pxlcolor pdfwrite pswrite psgray psmono psrgb ; do
7    gs -dQUIET -dBATCH -dNOPAUSE -sOutputFile="testsuite.$device" -sDEVICE="$device" master2.ps ;
8    done
9echo
10
11echo -n "File master.ps should be 16 pages long, result is : "
12python ../pykota/pdlanalyzer.py master2.ps
13
14echo "Analyzing testsuite..."
15for file in testsuite.* ; do
16    echo -n "$file ===> " && python ../pykota/pdlanalyzer.py "$file" ;
17done   
Note: See TracBrowser for help on using the browser.