On Thu, Dec 20, 2012 at 6:13 PM, Dirk Bächle <[email protected]> wrote:

>  Hi Anatoly,
>
> specifying the full relative path, like in
>
>   python runtest.py test/Delete.py
>
> , should work.
>

This works ok after I fix my PYTHONPATH, but I need to iterate only on a
single test_* method.
I've tried nose, but it fails to run, probably due to our hackery in
_resetSConfState function.

> py -m nose.core SCons.SConfTests
EEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: Test SConf.CheckType()
----------------------------------------------------------------------
Traceback (most recent call last):
  File "...\scons\src\engine\SCons\SConfTests.py", line 708, in test_
    self._resetSConfState()
  File "...\scons\src\engine\SCons\SConfTests.py", line 65, in
_resetSConfState
    m = sys.modules[n]
NameError: global name 'sys' is not defined

======================================================================
ERROR: Test SConf.CheckType()
----------------------------------------------------------------------
Traceback (most recent call last):
  File "...\scons\src\engine\SCons\SConfTests.py", line 54, in tearDown
    import SCons.SConsign
ImportError: __import__ not found

-- 
anatoly t.
_______________________________________________
Scons-dev mailing list
[email protected]
http://two.pairlist.net/mailman/listinfo/scons-dev

Reply via email to