[lsb-discuss] distribution printing tests
till.kamppeter at gmail.com
Mon Oct 8 16:41:05 PDT 2007
Stew Benedict wrote:
> First pass at distribution printing tests are up:
> rpm packages (ia32, 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
> 78 tests total:
> "total tests in cupsConvenience 43"
> "total tests in cupsPPD 23"
> "total tests in cupsRaster 6"
> "total tests in testgs 6"
> 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.
More information about the lsb-discuss