[Scons-dev] Does SCons test support negative tests?

Bill Deegan bill at baddogconsulting.com
Tue Sep 29 11:47:19 EDT 2015


Greetings,

I'm looking through the test logic and I don't see a way to say:
1) Output must have xyz in it
2) AND must NOT have abc in it

I'm working on a test for the append flag for Help() and depending on it's
setting the output from
scons -h

should or shouldn't contain help from AddOption()'s.

I could specify the exact full output expected, but it would seem easier to
maintain if I only check for 1 and 2 above.

Thanks,
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20150929/1cae0659/attachment.html>


More information about the Scons-dev mailing list