[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 module 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 bound method TestSCons.__del__ of 7ff37614b9d0 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 module 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 bound method TestSCons.__del__ of 7ff37614b9d0 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