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

Revision 1588, 0.5 kB (checked in by jalet, 20 years ago)

Testsuite for PDL Analyzer added

  • 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.*
5for 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    done
8echo
9
10echo -n "File master.ps should be 16 pages long, result is : "
11python ../pykota/pdlanalyzer.py master.ps
12
13echo "Analyzing testsuite..."
14for file in testsuite.* ; do
15    echo -n "$file ===> " && python ../pykota/pdlanalyzer.py "$file" ;
16done   
Note: See TracBrowser for help on using the browser.