[Scons-dev] Tests

Russel Winder russel at winder.org.uk
Tue Sep 4 00:54:48 EDT 2012


Dirk's test framework uses a naming convention to distinguish test
drivers from other python files. This means a set of test drivers can
use shared modules which are ignored as tests.

The SCons test framework treats every .py file as a test driver. This
finds the specially named driver files but also treats the common files
as tests. Since the common files only contain definitions there are no
failing tests because of this, but it does mean the test count is wrong
and that there are spurious tests attempted with neither a pass nor a
fail.

I can't immediately think of a cure for this.

--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : <http://two.pairlist.net/pipermail/scons-dev/attachments/20120904/bfa79b73/attachment.pgp>


More information about the Scons-dev mailing list