On 18 January 2011 19:00, mark florisson <markflorisso...@gmail.com> wrote:

>
>
> On 18 January 2011 18:54, mark florisson <markflorisso...@gmail.com>wrote:
>
>>
>>
>> On 18 January 2011 18:50, Arfrever Frehtes Taifersar Arahesis <
>> arfrever....@gmail.com> wrote:
>>
>>> Test failure with Python 2.6 and 2.7:
>>>
>>> ======================================================================
>>> FAIL: test_all (Cython.Debugger.Tests.TestLibCython.TestAll)
>>> ----------------------------------------------------------------------
>>> Traceback (most recent call last):
>>>  File
>>> "/var/tmp/portage/dev-python/cython-0.14.1_rc1/work/Cython-0.14.1rc1/Cython/Debugger/Tests/TestLibCython.py",
>>> line 204, in test_all
>>>    self.assertEquals(0, self.p.wait(), errmsg)
>>> AssertionError:
>>> ******************************   v INSIDE GDB v
>>> ******************************
>>> Python was not compiled with debug symbols (or it was stripped). Some
>>> functionality may not work (properly).
>>> /var/tmp/portage/dev-python/cython-0.14.1_rc1/work/Cython-0.14.1rc1/Cython/Debugger/Tests/test_libcython_in_gdb.py:428:
>>> UserWarning: Unable to run tests, Python was not compiled with debugging
>>> information. Either compile python with -g or get a debug build (configure
>>> with --with-pydebug).
>>>  warnings.warn(msg)
>>> ******************************   ^ INSIDE GDB ^
>>> ******************************
>>>
>>> ======================================================================
>>>
>>> Test suite fails completely with Python 3.1 and 3.2:
>>>
>>> Python 3.1.3+ (release31-maint:88040, Jan 16 2011, 21:40:20)
>>> [GCC 4.4.5]
>>>
>>> Running tests against Cython 0.14.1rc1
>>>
>>> Traceback (most recent call last):
>>>  File "runtests.py", line 1239, in <module>
>>>    main()
>>>  File "runtests.py", line 1169, in main
>>>    collect_unittests(UNITTEST_ROOT, UNITTEST_MODULE + ".", test_suite,
>>> selectors)
>>>  File "runtests.py", line 713, in collect_unittests
>>>    module = __import__(modulename)
>>>  File
>>> "/var/tmp/portage/dev-python/cython-0.14.1_rc1/work/Cython-0.14.1rc1/BUILD/Cy3/Cython/Debugger/Tests/TestLibCython.py",
>>> line 25, in <module>
>>>    with open(codefile) as f:
>>> IOError: [Errno 2] No such file or directory:
>>> '/var/tmp/portage/dev-python/cython-0.14.1_rc1/work/Cython-0.14.1rc1/BUILD/Cy3/Cython/Debugger/Tests/codefile'
>>>
>> For this I think I will need to change it to a python module (codefile.py)
> to have setup.py include it in the installation. I will push a fix shortly.
>
MANIFEST.in worked fine too, apparently runtests.py has its own MANIFEST.in
file.
It seems I can't push to https://github.com/cython/cython.git yet, though.

>  --
>>> Arfrever Frehtes Taifersar Arahesis
>>>
>>> _______________________________________________
>>> Cython-dev mailing list
>>> Cython-dev@codespeak.net
>>> http://codespeak.net/mailman/listinfo/cython-dev
>>>
>>> Yes, you need to run those tests with a python build for which debug
>> symbols are available.
>>
>> Should I turn this into a warning instead of an error?
>>
>
>
_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to