SCons can be configured to use SC-test (or some other test tool)
to provide controlled, automated testing of software. The Link
method could link a test subdirectory to a build
subdirectory:
Link('test', 'build')
SConscript('test/SConscript')
Any test cases checked in with the source code will be linked
into the test subdirectory and executed. If
SConscript files and test cases are written with this in mind, then
invoking:
% sccons test
Would run all the automated test cases that depend on any changed software.