Re: [Scons-dev] Testing non-core tools

2013-07-27 Thread Russel Winder
On Fri, 2013-07-26 at 21:36 +0200, Dirk Bächle wrote: […] If you call the runtest.py for external tests, you have to specify the -e option as well. OK the -e has helped. Now I am back with: 1/1 (100.00%) /usr/bin/python -tt test/sconstest-issue_1.py scons returned 2 STDOUT

Re: [Scons-dev] Testing non-core tools

2013-07-27 Thread Dirk Bächle
On 27.07.2013 15:51, Russel Winder wrote: [...] But the need to specify the -e to test non-core tool packages is already a marker that they are being handled specially. Also from the above tool sources are special structures and deserve special support. Given tests must run under the test

Re: [Scons-dev] Testing non-core tools

2013-07-26 Thread Dirk Bächle
On 26.07.2013 19:30, Russel Winder wrote: Problem solved: TestSCons.TestSCons() causes the chdir() so by getting the getcwd() before that I am alright. Is this gotcha documented anywhere? It is mentioned at http://www.scons.org/wiki/DeveloperGuide/TestingMethodology for the Hello

Re: [Scons-dev] Testing non-core tools

2013-07-26 Thread Dirk Bächle
...and please don't use the scons_test_framework repo for further development (just got the notice that you cloned it). The current code is in the normal SCons repo (runtest.py and QMTest). Regards, Dirk ___ Scons-dev mailing list

Re: [Scons-dev] Testing non-core tools

2013-07-26 Thread Russel Winder
On Fri, 2013-07-26 at 19:43 +0200, Dirk Bächle wrote: ...and please don't use the scons_test_framework repo for further development (just got the notice that you cloned it). The current code is in the normal SCons repo (runtest.py and QMTest). OK problem to investigate. I had an ancient

Re: [Scons-dev] Testing non-core tools

2013-07-26 Thread Dirk Bächle
On 26.07.2013 20:00, Russel Winder wrote: On Fri, 2013-07-26 at 19:55 +0200, Dirk Bächle wrote: […] Keeping all test scripts under a top-level folder test, and adding sconstest.skip files where needed, should give you a start pretty quickly though. So no more sconstest-XXX.py files? The

Re: [Scons-dev] Testing non-core tools

2013-07-26 Thread Russel Winder
On Fri, 2013-07-26 at 20:11 +0200, Dirk Bächle wrote: […] The runtest.py now detects any *.py file as test script, that's why the sconstest.skip (or even .exclude_tests) exists and escapes this behaviour where needed. You can read a bit about this in the Finding tests section of

Re: [Scons-dev] Testing non-core tools

2013-07-26 Thread Dirk Bächle
On 26.07.2013 20:27, Russel Winder wrote: On Fri, 2013-07-26 at 20:11 +0200, Dirk Bächle wrote: […] [...] I have a test directory in the non-core tool package. If I run path.to.scons.installtion/runtest.py -a I get: If you call the runtest.py for external tests, you have to specify