[Scons-dev] Thoughts on creating a repository for bug examples?

anatoly techtonik techtonik at gmail.com
Sun Jul 20 23:06:16 EDT 2014


On Mon, Jul 21, 2014 at 4:03 AM, William Deegan
<bill at baddogconsulting.com> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: [dirbased].7z
Type: application/octet-stream
Size: 1921 bytes
Desc: not available
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20140721/1cd68fe2/attachment-0001.obj>


More information about the Scons-dev mailing list