From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2003-11-19 09:25:22
David Abrahams wrote:
> Darren Cook <darren_at_[hidden]> writes:
>>I want to set up a test suite for one of my own libraries, and started
>>looking at how Boost does this. In status/Jamfile it has lines like:
>> [ run libs/array/array1.cpp ]
>>I had a look in array1.cpp and all it does is output to stdout. I
>>don't see any asserts, and I cannot find a file of expected output to
>>compare to. Is just running to completion enough to pass the test, or
>>am I missing something?
> Nope, you're not missing anything. It might be possible to add
> expected results comparison, but that's not currently part of the
Did any of you have a look at qmtest
(http://www.codesourcery.com/qm/qmtest) ? Using that it's relatively
simple to define what 'to run a test' means, and to set up a test
database suiting your needs. It's very portable and robust.
One of its main 'clients' is the gcc development.
A new release will be done shortly...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk