On Thu, May 01, 2008 at 02:46:42PM -0400, Neal Becker wrote:
> Stefan Behnel wrote:
> 
> > Hi,
> > 
> > Neal Becker wrote:
> >> Stefan Behnel wrote:
> >>> Neal Becker wrote:
> >> ...
> >>>> These are probably harmless 32/64 bit errors?  Tests should be fixed?
> >>> Sure, looks like the test is broken here. What is sys.maxint on a 64 bit
> >>> platform?
> >> 
> >> python -c 'import sys; print sys.maxint'
> >> 9223372036854775807
> >> 
> >> This is x86_64
> > 
> > I pushed a fix for the test case. Could you try it?
> > 
> > Thanks,
> > Stefan
> Ran 213 tests in 22.508s

I still have 3 failures with latest cython-devel (b869698d6f22)

Attached is a log of 'python runtests.py' run on Debian testing.

-- 
    Всего хорошего, Кирилл.
Doctest: notinop ... ok
Doctest: ishimoto2 ... ok
Doctest: classkwonlyargs ... ok
Doctest: assert ... ok
Doctest: kwargproblems ... ok
Doctest: ct_IF ... ok
Doctest: behnel3 ... ok
Doctest: r_jiba1 ... ok
Doctest: extkwonlyargs ... ok
Doctest: if ... ok
Doctest: subop ... ok
Doctest: dict ... ok
Doctest: ishimoto3 ... ok
Doctest: addressof ... ok
Doctest: baas3 ... ok
Doctest: r_docstrings ... ok
Doctest: r_hordijk1 ... ok
Doctest: unicodeliterals ... ok
Doctest: tuple ... ok
Doctest: powop ... ok
Doctest: compiledef ... ok
Doctest: print ... ok
Doctest: r_mang1 ... ok
Doctest: jarausch1 ... ok
Doctest: unop ... ok
Doctest: bishop2 ... ok
Doctest: cstruct ... ok
Doctest: unicodeliteralslatin1 ... ok
Doctest: pynumop ... ok
Doctest: isnonebool ... ok
Doctest: exarkun ... ok
Doctest: extinstantiate ... ok
Doctest: unpacklistcomp ... ok
Doctest: r_starargs ... ok
Doctest: kostyrka2 ... ok
Doctest: cfuncdef ... ok
Doctest: attr ... ok
modop.c:252: warning: ‘__pyx_f_5modop_modptr’ defined but not used
Doctest: modop ... ok
Doctest: bishop1 ... ok
Doctest: r_spamtype ... ok
Doctest: wundram1 ... ok
Doctest: kostyrka ... ok
Doctest: varargcall ... ok
Doctest: pyintop ... ok
Doctest: include ... ok
Doctest: classpass ... ok
Doctest: addloop ... ok
Doctest: extinherit ... ok
Doctest: cunion ... ok
Doctest: cvardef ... ok
Doctest: pinard7 ... ok
Doctest: append ... ok
Doctest: boolop ... ok
Doctest: r_pythonapi ... ok
Doctest: pass ... ok
Doctest: slice3 ... ok
Doctest: unpack ... ok
Doctest: pyextattrref ... ok
Doctest: pylistsubtype ... ok
Doctest: ass2global ... ok
Doctest: pycmp ... ok
Doctest: r_starargcall ... ok
Doctest: new_style_exceptions ... FAIL
Doctest: r_argdefault ... ok
Doctest: extstarargs ... ok
Doctest: kwonlyargs ... ok
Doctest: pinard8 ... ok
Doctest: rodriguez_1 ... ok
Doctest: r_extstarargs ... ok
Doctest: cstringmul ... ok
Doctest: multass ... ok
Doctest: r_barbieri1 ... ok
Doctest: list ... ok
Doctest: r_mitch_chapman_2 ... ok
Doctest: slice2 ... ok
Doctest: backquote ... ok
Doctest: r_toofewargs ... ok
Doctest: strconstinclass ... ok
Doctest: extclasspass ... ok
Doctest: pinard6 ... ok
Doctest: tuplereassign ... FAIL
Doctest: r_starargsonly ... ok
Doctest: dietachmayer1 ... ok
Doctest: lepage_1 ... ok
Doctest: exttype ... ok
Doctest: r_pyclassdefault ... ok
Doctest: r_addint ... ok
Doctest: unicodeliteralsdefault ... ok
Doctest: r_extcomplex2 ... ok
Doctest: return ... ok
Doctest: behnel2 ... ok
Doctest: concatcstrings ... ok
Doctest: getattr3call ... ok
Doctest: unicodefunction ... ok
Doctest: pinard5 ... ok
Doctest: r_primes ... ok
Doctest: r_pyclass ... ok
Doctest: r_print ... ok
Doctest: ass2local ... ok
Doctest: r_vree_1 ... ok
Doctest: simpcall ... ok
Doctest: modbody ... ok
Doctest: altet2 ... ok
Doctest: r_mcintyre1 ... ok
Doctest: specialfloat ... ok
Doctest: addop ... ok
Doctest: r_forloop ... ok
Doctest: strfunction ... ok
Doctest: cintop ... ok
Doctest: ref2local ... ok
Doctest: literals ... ok
Doctest: ct_DEF ... ok
Doctest: extlen ... ok
Doctest: sizeof ... ok
Doctest: inop ... ok
Doctest: starargs ... ok
Doctest: behnel1 ... ok
compiling undefinedname ... ok
compiling encoding ... ok
compiling void_as_arg ... ok
compiling arrayptrcompat ... arrayptrcompat.c:123: warning: 
‘__pyx_f_14arrayptrcompat_f’ defined but not used
ok
compiling extsetattr ... ok
compiling ctypedef ... ok
compiling extpropertydoc ... ok
compiling extimportedsubtype ... ok
compiling extsetitem ... ok
compiling cargdef ... ok
compiling enumintcompat ... enumintcompat.c:135: warning: 
‘__pyx_f_13enumintcompat_f’ defined but not used
ok
compiling omittedargnames ... ok
compiling import ... ok
compiling callingconvention ... ok
compiling lepage_2 ... ok
compiling extpropertyget ... ok
compiling builtin ... ok
compiling formfeed ... ok
compiling emptytry ... emptytry.c:111: warning: ‘__pyx_f_8emptytry_f’ defined 
but not used
ok
compiling extcmethcall ... extcmethcall.c:179: warning: 
‘__pyx_f_12extcmethcall_tomato’ defined but not used
ok
compiling extdelslice ... ok
compiling ewing4 ... ewing4.c:110: warning: ‘__pyx_f_6ewing4_f’ defined but not 
used
ok
compiling extindex ... ok
compiling huss2 ... huss2.c:125: warning: ‘__pyx_f_5huss2_f’ defined but not 
used
ok
compiling declarations ... declarations.c:125: warning: 
‘__pyx_f_12declarations_f’ defined but not used
declarations.c:146: warning: ‘__pyx_f_12declarations_g’ defined but not used
ok
compiling extdelitem ... ok
compiling excvaldecl ... excvaldecl.c:116: warning: ‘__pyx_f_10excvaldecl_spam’ 
defined but not used
excvaldecl.c:131: warning: ‘__pyx_f_10excvaldecl_eggs’ defined but not used
excvaldecl.c:146: warning: ‘__pyx_f_10excvaldecl_grail’ defined but not used
excvaldecl.c:161: warning: ‘__pyx_f_10excvaldecl_tomato’ defined but not used
excvaldecl.c:176: warning: ‘__pyx_f_10excvaldecl_brian’ defined but not used
excvaldecl.c:190: warning: ‘__pyx_f_10excvaldecl_silly’ defined but not used
ok
compiling ctypedefenum ... ok
compiling tryexcept ... ok
compiling for ... ok
compiling specmethextarg ... ok
compiling while ... while.c: In function ‘__pyx_pf_5while_f’:
while.c:197: warning: ‘__pyx_v_i’ is used uninitialized in this function
ok
compiling jiba3 ... ok
compiling varargdecl ... varargdecl.c:110: warning: 
‘__pyx_f_10varargdecl_grail’ defined but not used
ok
compiling extsetslice ... ok
compiling belchenko1 ... belchenko1.c:113: warning: 
‘__pyx_f_10belchenko1__is_aligned’ defined but not used
ok
compiling ewing6 ... ewing6.c:207: warning: ‘__pyx_f_6ewing6_f’ defined but not 
used
ok
compiling jiba4 ... ok
compiling nogil ... nogil.c:114: warning: ‘__pyx_f_5nogil_f’ defined but not 
used
ok
compiling extargdefault ... ok
compiling typecast ... typecast.c:113: warning: ‘__pyx_f_8typecast_f’ defined 
but not used
ok
compiling coventry1 ... ok
compiling fromimport ... ok
compiling cstructreturn ... cstructreturn.c:124: warning: 
‘__pyx_f_13cstructreturn_f’ defined but not used
ok
compiling globvardef ... ok
compiling ctypedefclass ... ok
compiling ia_cdefblock ... ia_cdefblock.c:157: warning: 
‘__pyx_f_12ia_cdefblock_priv_f’ defined but not used
ok
compiling coercetovoidptr ... coercetovoidptr.c:111: warning: 
‘__pyx_f_15coercetovoidptr_f’ defined but not used
ok
compiling withgil ... withgil.c:114: warning: ‘__pyx_f_7withgil_f’ defined but 
not used
withgil.c:140: warning: ‘__pyx_f_7withgil_g’ defined but not used
ok
compiling declandimpl ... ok
compiling ishimoto1 ... ok
compiling specmethargdefault ... ok
compiling funcptr ... ok
compiling globalonly ... ok
compiling extdelattr ... ok
compiling pyclass ... ok
compiling tryfinally ... tryfinally.c: In function ‘__pyx_pf_10tryfinally_f’:
tryfinally.c:213: warning: ‘__pyx_exc_type’ is used uninitialized in this 
function
tryfinally.c:214: warning: ‘__pyx_exc_value’ is used uninitialized in this 
function
tryfinally.c:215: warning: ‘__pyx_exc_tb’ is used uninitialized in this function
tryfinally.c:223: warning: ‘__pyx_exc_lineno’ is used uninitialized in this 
function
tryfinally.c:311: warning: ‘__pyx_exc_tb’ is used uninitialized in this function
tryfinally.c:311: warning: ‘__pyx_exc_value’ is used uninitialized in this 
function
tryfinally.c:311: warning: ‘__pyx_exc_type’ is used uninitialized in this 
function
tryfinally.c:312: warning: ‘__pyx_exc_lineno’ is used uninitialized in this 
function
ok
compiling doda1 ... doda1.c:127: warning: ‘__pyx_f_5doda1_foo’ defined but not 
used
ok
compiling extgetattr ... ok
compiling johnson2 ... ok
compiling cenum ... cenum.c:129: warning: ‘__pyx_f_5cenum_eggs’ defined but not 
used
ok
compiling coercearraytoptr ... coercearraytoptr.c:126: warning: 
‘__pyx_f_16coercearraytoptr_eggs’ defined but not used
ok
compiling kleckner1 ... kleckner1.c:126: warning: ‘__pyx_f_9kleckner1_g’ 
defined but not used
ok
compiling exthash ... ok
compiling extern ... extern.c:131: warning: ‘__pyx_f_6extern_grail’ defined but 
not used
ok
compiling pinard4 ... ok
compiling hinsen2 ... ok
compiling ewing9 ... ok
compiling longunsigned ... ok
compiling extinheritset ... ok
compiling ewing7 ... ok
compiling ishimoto4 ... ishimoto4.c:110: warning: ‘__pyx_f_9ishimoto4_f’ 
defined but not used
ok
compiling khavkine1 ... khavkine1.c:126: warning: ‘__pyx_f_9khavkine1_f’ 
defined but not used
ok
compiling a_capi ... ok
compiling ctypedefunion ... ok
compiling extpropertydel ... ok
compiling withnogil ... withnogil.c:113: warning: ‘__pyx_f_9withnogil_f’ 
defined but not used
withnogil.c:145: warning: ‘__pyx_f_9withnogil_g’ defined but not used
ok
compiling extimported ... ok
compiling ctypedefstruct ... ok
compiling constexpr ... ok
compiling ewing8 ... ok
compiling signedtypes ... ok
compiling nonctypedefclass ... ok
compiling cdefexternfromstar ... ok
compiling complexbasetype ... complexbasetype.c:115: warning: 
‘__pyx_f_15complexbasetype_brian’ defined but not used
ok
compiling classmethargdefault ... ok
compiling cforfromloop ... ok
compiling extpropertyset ... ok
compiling ewing3 ... ok
compiling behnel4 ... behnel4.c:123: warning: ‘__pyx_f_7behnel4_f’ defined but 
not used
ok
compiling specmethdocstring ... specmethdocstring.c:131: warning: 
‘__pyx_doc_17specmethdocstring_1C___init__’ defined but not used
specmethdocstring.c:155: warning: 
‘__pyx_doc_17specmethdocstring_1C_3foo___get__’ defined but not used
specmethdocstring.c:171: warning: 
‘__pyx_doc_17specmethdocstring_1C_3foo___set__’ defined but not used
ok
compiling extforward ... ok
compiling cverylongtypes ... ok
compiling argdefault ... ok
compiling nullptr ... ok
compiling extinheritdel ... ok

======================================================================
FAIL: Doctest: new_style_exceptions
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/doctest.py", line 2157, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for new_style_exceptions
  File 
"/home/kirr/src/tools/cython/cython-devel/BUILD/new_style_exceptions.so", line 
unknown line number, in new_style_exceptions

----------------------------------------------------------------------
File "/home/kirr/src/tools/cython/cython-devel/BUILD/new_style_exceptions.so", 
line ?, in new_style_exceptions
Failed example:
    test(Exception('hi'))
Expected:
    Raising: Exception('hi',)
    Caught: <type 'exceptions.Exception'> Exception('hi',)
Got:
    Raising: <exceptions.Exception instance at 0xb78ad84c>
    Caught: <class exceptions.Exception at 0xb7d8c26c> <exceptions.Exception 
instance at 0xb78ad84c>


======================================================================
FAIL: Doctest: tuplereassign
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/doctest.py", line 2157, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tuplereassign
  File "/home/kirr/src/tools/cython/cython-devel/BUILD/tuplereassign.so", line 
23, in tuplereassign

----------------------------------------------------------------------
File "/home/kirr/src/tools/cython/cython-devel/BUILD/tuplereassign.so", line 
31, in tuplereassign
Failed example:
    testnonsense()
Expected:
    Traceback (most recent call last):
    TypeError: 'int' object is not iterable
Got:
    Traceback (most recent call last):
      File "/usr/lib/python2.4/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest tuplereassign[3]>", line 1, in ?
        testnonsense()
      File "tuplereassign.pyx", line 26, in tuplereassign.testnonsense 
(tuplereassign.c:%u)
    TypeError: iteration over non-sequence


----------------------------------------------------------------------
Ran 213 tests in 289.050s

FAILED (failures=2)
Creating lexicon...
Done (0.21 seconds)
Pickling lexicon...
Done (0.02 seconds)
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to