[Scons-dev] Testing external tools
I think I have forgotten how to use the runtest.py script for executing tests of tools that are not in the SCons heirarchy and the help isn't helping. |> python /home/users/russel/Repositories/Mercurial/Masters/SCons/runtest.py test 1/1 (100.00%) /usr/bin/python -tt test/Issue_1/sconstest-A.py Traceback (most recent call last): File "test/Issue_1/sconstest-A.py", line 34, in test = TestSCons.TestSCons() File "/home/users/russel/Repositories/Mercurial/Masters/SCons/QMTest/TestSCons.py", line 232, in __init__ os.chdir(script_dir) OSError: [Errno 2] No such file or directory: '/home/users/russel/Repositories/Mercurial/Masters/SCons_Protobuf/src/script' Exception AttributeError: "'TestSCons' object has no attribute '_dirlist'" in ignored -- Russel. = Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.win...@ekiga.net 41 Buckmaster Roadm: +44 7770 465 077 xmpp: rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder ___ Scons-dev mailing list Scons-dev@scons.org http://two.pairlist.net/mailman/listinfo/scons-dev
Re: [Scons-dev] Testing external tools
On 05.05.2014 18:21, Russel Winder wrote: I think I have forgotten how to use the runtest.py script for executing tests of tools that are not in the SCons heirarchy and the help isn't helping. |> python /home/users/russel/Repositories/Mercurial/Masters/SCons/runtest.py test 1/1 (100.00%) /usr/bin/python -tt test/Issue_1/sconstest-A.py Traceback (most recent call last): File "test/Issue_1/sconstest-A.py", line 34, in test = TestSCons.TestSCons() File "/home/users/russel/Repositories/Mercurial/Masters/SCons/QMTest/TestSCons.py", line 232, in __init__ os.chdir(script_dir) OSError: [Errno 2] No such file or directory: '/home/users/russel/Repositories/Mercurial/Masters/SCons_Protobuf/src/script' Exception AttributeError: "'TestSCons' object has no attribute '_dirlist'" in ignored Try "-e", like for "external tool". ___ Scons-dev mailing list Scons-dev@scons.org http://two.pairlist.net/mailman/listinfo/scons-dev
Re: [Scons-dev] Testing external tools
On Mon, 2014-05-05 at 19:46 +0200, Dirk Bächle wrote: […] > Try "-e", like for "external tool". OK, so I can't read the help message :-) I blame the stress and pressure! -- Russel. = Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.win...@ekiga.net 41 Buckmaster Roadm: +44 7770 465 077 xmpp: rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder ___ Scons-dev mailing list Scons-dev@scons.org http://two.pairlist.net/mailman/listinfo/scons-dev
Re: [Scons-dev] Testing external tools
On Mon, May 5, 2014 at 9:24 PM, Russel Winder wrote: > On Mon, 2014-05-05 at 19:46 +0200, Dirk Bächle wrote: > […] >> Try "-e", like for "external tool". > > OK, so I can't read the help message :-) > > I blame the stress and pressure! No need to blame anyone. Blame is an easy exit. We need to make the usage more intuitive and information more easy to find. That means stripping some fat from the command line options and making a review of their importance. =) -- anatoly t. ___ Scons-dev mailing list Scons-dev@scons.org http://two.pairlist.net/mailman/listinfo/scons-dev