On Sun, Nov 15, 2009 at 2:48 AM, Jon Olav Vik <jono...@gmail.com> wrote: > <josef.p...@...> writes: >> As explained in the previous thread "runtests results WindowXP MingW", >> I had to adjust runtests to pick up the config_files to use the compiler > option: >> >> After adding the following to the runtests (copied from pyxbuild.py, I >> don't know why config_files are parsed twice), >> the tests run with MingW (3.4.5) as compiler. >> >> ######## added to runtests.py >> config_files = distutils_distro.find_config_files() >> try: config_files.remove('setup.cfg') >> except ValueError: pass >> distutils_distro.parse_config_files(config_files) >> >> cfgfiles = distutils_distro.find_config_files() >> try: cfgfiles.remove('setup.cfg') >> except ValueError: pass >> distutils_distro.parse_config_files(cfgfiles) >> ############# > > Thanks. I did read that thread, but didn't understand that my issue was the > same... 8-) I've added this and Robert's suggestion to > http://wiki.cython.org/InstallingOnWindows > > Where in runtests.py do you add the above code? I tried adding it after line > 28, > distutils_distro = Distribution()
Yes, that's where I added it. This time I added the parsing only once. > > C:\temp\Cython-0.12.rc0>python runtests_mingw32.py --no-refnanny > Running tests against Cython 0.12.rc0 > Python 2.5.4 |EPD 5.1.1| (r254:67916, Aug 11 2009, 21:11:08) [MSC v.1310 32 > bit > (Intel)] > [...] > Ran 2935 tests in 801.122s > FAILED (errors=10) > > I've pasted the full output to > http://pastebin.com/f2bac2cc4 > > Best regards, > Jon Olav I'm getting the same 10 errors without command line options, a few more warnings and printout because of the refnanny. (I ran the tests from the unzipped directory without installing.) C:\Josef\work-oth\Cython-0.12.rc0\Cython-0.12.rc0>runtests_mingw.py Running tests against Cython 0.12.rc0 Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] warning: C:\Josef\work-oth\Cython-0.12.rc0\Cython-0.12.rc0\Cython\Runtime\refnan ny.pyx:90:5: Unraisable exception in function 'refnanny.GOTREF'. warning: C:\Josef\work-oth\Cython-0.12.rc0\Cython-0.12.rc0\Cython\Runtime\refnan ny.pyx:103:5: Unraisable exception in function 'refnanny.GIVEREF_and_report'. warning: C:\Josef\work-oth\Cython-0.12.rc0\Cython-0.12.rc0\Cython\Runtime\refnan ny.pyx:129:5: Unraisable exception in function 'refnanny.FinishContext'. bufaccess_noassignT444.c:1064: warning: '__Pyx_GetBufferAndValidate' defined but not used <...........> ---------------------------------------------------------------------- Ran 2935 tests in 1161.484s FAILED (errors=10) Josef > > > _______________________________________________ > Cython-dev mailing list > Cython-dev@codespeak.net > http://codespeak.net/mailman/listinfo/cython-dev > _______________________________________________ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev