root / pkpgcounter / tags / 1.76 / tests / runtest.sh

Revision 235, 1.1 kB (checked in by jerome, 19 years ago)

Finished to move files around.
Removed any unneeded reference to the library's name.

  • Property svn:executable set to *
  • Property svn:keywords set to Auth Date Id Rev
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 tiff12nc tiff24nc tiffcrle tiffg3 tiffg32d tiffg4 tifflzw tiffpack ; 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 ../pkpgpdls/analyzer.py master2.ps
14
15echo "Analyzing testsuite..."
16for file in testsuite.* ; do
17    echo -n "$file ===> " && python ../pkpgpdls/analyzer.py "$file" ;
18done   
Note: See TracBrowser for help on using the browser.