[Pyrex] Pyrex testing

Scott Jackson scott.jackson at enthought.com
Wed Aug 1 16:39:58 CEST 2007


On Wed, 2007-08-01 at 14:15 +1200, Greg Ewing wrote:
> It looks like these may be Darwin or PPC specific options
> that ought to be removed from LinuxTesting. Try taking
> them out and see what happens.

I removed "-dynamic" for the "unrecognized debugging option"
then,
===
gcc: cannot specify -o with -c or -S and multiple compilations
===
so I removed -c
===
gcc: p: No such file or directory
gcc: e: No such file or directory
gcc: d: No such file or directory
gcc: a: No such file or directory
gcc: n: No such file or directory
gcc: t: No such file or directory
gcc: i: No such file or directory
gcc: c: No such file or directory
===
Hilarious, gcc. At least our compiler has a sense of humor :)
put a "pass" statement under the pedantic if block
===
Running test Tests/5/extdelitem.pyx
/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/../../../../lib64/crt1.o(.text+0x21): In function `_start':
: undefined reference to `main'
/tmp/cc6JKShl.o(.text+0x118): In function
`__pyx_mp_ass_subscript_10extdelitem_Spam':
/home/builder/Desktop/Pyrex-0.9.5.1/Tests/5/extdelitem.c:72: undefined
reference to `PyExc_NotImplementedError'
/tmp/cc6JKShl.o(.text
+0x122):/home/builder/Desktop/Pyrex-0.9.5.1/Tests/5/extdelitem.c:72:
undefined reference to `PyErr_Format'
/tmp/cc6JKShl.o(.text+0x168): In function `initextdelitem':
/home/builder/Desktop/Pyrex-0.9.5.1/Tests/5/extdelitem.c:210: undefined
reference to `Py_InitModule4_64'
[et cetera...]
===
So at least we've gotten somewhere! I also ran UnixTesting through the
mac2unix utility- apparently python doesn't care what you end your lines
with, but vim certainly does. Something like LF on unixes, CR on Mac,
and CRLF on win32? Funny thing is, all of the darwin-native apps on Mac
like to use the LF standard 8-)


-- 
Scott Jackson <scott.jackson at enthought.com>
Enthought, Inc.




More information about the Pyrex mailing list