[lsb-discuss] Can cups provided by lsb-test-printing work properly with the latest foomatic?
Stew Benedict
stewb at linux-foundation.org
Thu Sep 11 04:14:47 PDT 2008
On Thu, 11 Sep 2008, Hao Liu wrote:
> Stew Benedict wrote:
> > On Wed, 10 Sep 2008, Hao Liu wrote:
> >
> >
> >> Stew Benedict wrote:
> >>
> >>> On Tue, 9 Sep 2008, Hao Liu wrote:
> >>>
> >>>
> >>>
> >>>> Hi, guys
> >>>> I found 2 failures from the lsb-test-print:
> >>>>
> >>>> /testfoomaticrip/testfoomaticrip 3 FAIL
> >>>> /testfoomaticrip/testfoomaticrip 11 FAIL
> >>>>
> >>>> The foomatic under test is of version foomatic-3.0.2-65, while I ran
> >>>> this lsb-test-printing against foomatic-3.0.2-62, there's no failures
> >>>> given out. Since there's no modification made against foomatic-rip
> >>>> between 3.0.2-62 and 3.0.2-65, I doubt it's the cups provided by
> >>>> lsb-test-printing can't work properly with foomatic-3.0.2-65
> >>>>
> >>>>
> >>>>
> >>> Anything is possible I suppose, isn't there more detail of the nature of
> >>> the failures in the journal?
> >>>
> >>>
> >> I tried to replace cups1.1.23 with cups1.3.8, but if failed when I tried
> >> to build the package with
> >>
> >> rpmbuild -bb lsb-test-printing.spec --define "ver 3.2.0" --define
> >> "rel 1"
> >>
> >>
> >
> > While this is interesting, I wasn't planning to uplift the cups in the
> > test suite at this time. I'm still not seeing the journal detail for the
> > foomatic tests.
> >
> >
> The journal is attached, thank you.
>
Thanks. Didn't really need the whole journal, was most interested in the 2
tests in question. I reviewed these tests, and I'm not seeing that they
even use cups. Tried to verify that with the author, but he was vague,
saying "most do not use cups".
Test 3 output indicates it is just testing the content of stdout from the
foomatic call:
520|4 3 25504 1 10|Output written to stdout did not contain
"\%\%Page:\s*1\s+1.*\%\%BeginFeature:\s*\*Option4\s+Choice\d.*gsave.*\%\%Page:\s
*2\s+2.*\%\%BeginFeature:\s*\*Option4\s+Choice\d.*gsave.*\%\%Page:\s*3\s+3.*\%\%
BeginFeature:\s*\*Option4\s+Choice\d.*gsave.*\%\%Page:\s*4\s+4.*\%\%BeginFeature
:\s*\*Option4\s+Choice\d.*gsave"
220|4 3 1 23:15:55|FAIL
Test 11 is not as clear, but looking at the code I don't see any call to
"test_cups_job"
520|4 11 25504 1 11|Executing /usr/bin/foomatic-rip --ppd
/opt/lsb/test/printing/tet_tmp_dir/24796aa/testfoomaticrip/foomatic-test.ppd
-o
FilterPath=/opt/lsb/test/printing/tet_tmp_dir/24796aa/testfoomaticrip/ -o
1-2,4:FoomaticOption1=Choice3
/opt/lsb/test/printing/tet_tmp_dir/24796aa/testfoomaticrip/foomatic-test-input-p
s.ps
520|4 11 25504 1 12|Checking: FoomaticOption1=Choice3 for pages 1-2 and 4
220|4 11 1 23:16:01|FAIL
This would tend to make me think that cups isn't the issue at all, but
that somehow the foomatic-rip behavior in your build has changed.
Ref:
http://bzr.linux-foundation.org/lsb/3.2/printing-test?cmd=content;rev=jeff%40xenpc-fedora8-20080114213503-n50jivyjjag25mqd;pathrevid=pqm%40linux-foundation.org-20080902120015-fnnvdh28310kkpyr;path=sources/printing-test/testfoomaticrip/testfoomaticrip.sh
--
Stew Benedict
The Linux Foundation
More information about the lsb-discuss
mailing list