[Scons-dev] Testing external tools
Dirk Bächle
tshortik at gmx.de
Mon May 5 13:46:46 EDT 2014
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".
More information about the Scons-dev
mailing list