[lsb-discuss] RFC: new LSB development infrastructure

Ian Murdock imurdock at imurdock.com
Mon Jul 10 14:44:05 PDT 2006


Wichmann, Mats D wrote:
>> It's pretty easy to imagine how the specification/test linkage could
>> be extended further. For example, rather than reporting test failures
>> with arcane messages like "/tset/LSB.os/genuts/nftw/T.nftw 9
>> FAIL", each failed test could display the assertion that failed
>> directly from the specification, with the text a
>> hyperlink to the appropriate place in the specification itself.
> 
> The current testing methodology can place the assertion text
> into the journal file (unless the programmer chose not to,
> for some reason). Some of the tests (the X11 and gtk tests)
> actually have code generated from ADL (Assertion Definition
> Language) files, so the assertions automatically are available
> in the C code; in others (lsb-runtime-test) this is not automatic
> and has to be done manually.

I'm not sure I understand. Is the assertion text is taken from the
specification itself, or is it taken from somewhere else, such
as hard coded into the test cases? If the latter,
would be rather easy for the assertion text to get out of sync.

-ian
-- 
Ian Murdock
317-863-2590
http://ianmurdock.com/

"Don't look back--something might be gaining on you." --Satchel Paige




More information about the lsb-discuss mailing list