[lsb-discuss] distribution printing tests

Till Kamppeter till.kamppeter at gmail.com
Mon Oct 8 16:41:05 PDT 2007



Stew Benedict wrote:
> First pass at distribution printing tests are up:
> 
> http://bzr.freestandards.org/unofficial/printing-test
> 
> rpm packages (ia32, src.rpm):
> 
> http://www.linux-foundation.org/~stewb/printing/lsb-test-printing-3.1.90-1.i486.rpm
> http://www.linux-foundation.org/~stewb/printing/lsb-test-printing-3.1.90-1.src.rpm
> 
> Caveats for building:
> 1) bzr branch really wants to live in devel, as it grabs some bits from 
> runtime during "make tarball" (seemed to make more sense than duplicating 
> the source)
> 2) libcups, libcupsimage aware lsbcc, stub libs and headers needed to 
> compile
> 
> 78 tests total:
> 
>         "total tests in cupsConvenience 43"
>         /convenience/cupsConvenience
>         "total tests in cupsPPD 23"
>         /ppd/cupsPPD
>         "total tests in cupsRaster 6"
>         /raster/cupsRaster
>         "total tests in testgs 6"
>         /testgs/testgs
> 
> Installs in /opt/lsb/test/printing, typical "run_tests" setup. Should run 
> as root (to start bundled, special, cupsd setup).
> 

One additional tip:

Many of the functions need a cupsd running somewhere and a print queue. 
So the tet_startup should start cupsd if it is not already running and 
create a print queue with simple PPD (like CUPS' laserjet.ppd) which 
points into a file (do not forget "FileDevice yes" in cupsd.conf). The 
tet_cleanup should remove the queue. More queues are needed if queue 
removal is under the test.

    Till



More information about the lsb-discuss mailing list