[lsb-discuss] distribution printing tests
stewb at linux-foundation.org
Mon Oct 8 16:59:55 PDT 2007
On Tue, 9 Oct 2007, Till Kamppeter wrote:
> 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.
Yes, that's why a bundled, specially configured cupsd is part of the test
suite. It's started/stopped as part of "run_tests". It lives in
/opt/lsb/test/printing/cups so as not to interfere with any system cupsd.
The Linux Foundation
More information about the lsb-discuss