[SciPy-dev] ANN: SciPy 0.7.0b1 (beta release)

josef.pktd@gmai... josef.pktd@gmai...
Wed Nov 26 12:16:54 CST 2008


On Wed, Nov 26, 2008 at 11:25 AM,  <josef.pktd@gmail.com> wrote:
> Using windows installer on windowsXP, sse2, Pentium M

scipy.test(level=1) : level is depreciated and I get the same results
with level=10 as with level=1

I build scipy beta source package from sourceforge with mingw:

 * scipy.test(level=1) gives the same successful result as the installer
 * scipy.test('full') end with a segfault, that I always got with one
weave example

 nosetests  pathto\scipy\weave\tests\test_ext_tools.py:TestExtModule.test_with_include
 ends with a segfault

I think the offending code is the writing to stdout from c:
code = """
               std::cout << std::endl;
               std::cout << "test printing a value:" << a << std::endl;
               """
As Robert Kern mentioned several times, MinGW has a problem with stdout.

Is it possible to skip this test when the compiler for weave is mingw,
or change the code in the test if the purpose of the test is to test
an include instead of testing stdout?

After skipping this test, except for knownfailures and skips all tests
pass. however, 2 knownfailures are counted as errors (maybe another
problem with nose decorators):

>nosetests  pathto\scipy\weave\tests\
<snip>

======================================================================
ERROR: test_char_fail (test_scxx_dict.TestDictGetItemOp)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Programs\Python25\lib\site-packages\numpy\testing\decorators.py", lin
e 119, in skipper
    raise KnownFailureTest, msg
KnownFailureTest: Test skipped due to known failure

======================================================================
ERROR: test_obj_fail (test_scxx_dict.TestDictGetItemOp)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Programs\Python25\lib\site-packages\numpy\testing\decorators.py", lin
e 119, in skipper
    raise KnownFailureTest, msg
KnownFailureTest: Test skipped due to known failure

----------------------------------------------------------------------
Ran 449 tests in 775.250s

FAILED (SKIP=8, errors=2)

Josef


More information about the Scipy-dev mailing list