On Mon, Jul 21, 2014 at 4:03 AM, William Deegan <[email protected]> wrote: > Greetings, > > Every time I go to take a look at a bug I create a directory, and either > copy the example provided, or create one. > Check if the bug still exists and also use that to test the fix and perhaps > if it’s reasonable to create a test for the test suite. > > I was thinking that perhaps it would be useful to have a scone-bugs repo > with one bug per directory?
I have a concept of dir based tests that is similar to what you propose and is much easier to write than current tests. It is not committed, but here is what is standing on my disk. --- cat scons/test/[dirbased]/README.md -- Location for "dir-based" tests. Directory based test consist of SConstruct file, source file tree and [result] file tree. Source tree with SConstruct is copied into temp dir, and SCons is run from there. After that temp dir contents is compared with [result]. --- -- anatoly t.
[dirbased].7z
Description: Binary data
_______________________________________________ Scons-dev mailing list [email protected] http://two.pairlist.net/mailman/listinfo/scons-dev
