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

Revision 1702, 1.0 kB (checked in by jalet, 20 years ago)

Support for more laserjet models 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..."
4gunzip <master.ps.gz >master2.ps
5for device in lj250 lj4dithp ljet2p ljet4pjl ljetplus laserjet ljet3 ljet4 lj5gray lj5mono pxlmono pxlcolor pdfwrite pswrite psgray psmono psrgb epson epsonc eps9mid eps9high stcolor st800 escp escpc pcl3 cdeskjet cdj1600 cdj500 cdj550 cdj670 cdj850 cdj880 cdj890 cdj970 cdjcolor cdjmono dj505j djet500 djet500c hpdj1120c hpdj310 hpdj320 hpdj340 hpdj400 hpdj500 hpdj500c hpdj510 hpdj520 hpdj540 hpdj550c hpdj560c hpdj600 hpdj660c hpdj670c hpdj680c hpdj690c hpdj850c hpdj855c hpdj870c hpdj890c hpdjplus hpdjportable ; do
6    if ! [ -f "testsuite.$device" ]  ; then
7        gs -dQUIET -dBATCH -dNOPAUSE -sOutputFile="testsuite.$device" -sDEVICE="$device" master2.ps ; 
8    fi ;
9    done
10echo
11
12echo -n "File master.ps should be 16 pages long, result is : "
13python ../pykota/pdlanalyzer.py master2.ps
14
15echo "Analyzing testsuite..."
16for file in testsuite.* ; do
17    echo -n "$file ===> " && python ../pykota/pdlanalyzer.py "$file" ;
18done   
Note: See TracBrowser for help on using the browser.