Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

investigate dtype test failures on non-Linux64 platforms #26

Open
TallJimbo opened this issue Mar 16, 2013 · 1 comment
Open

investigate dtype test failures on non-Linux64 platforms #26

TallJimbo opened this issue Mar 16, 2013 · 1 comment

Comments

@TallJimbo
Copy link
Member

The dtypes unit test seems quite fragile, and often fails when the library is otherwise working correctly. Problems have been confirmed on Mac OS and Windows, but have not been seen on Linux64.

The problem is probably related to the long-standing issue with multiple C/C++ types being mapped to the same NumPy type (or different NumPy types with the same name, so only one is accessible from Python), but the test itself may be at fault.

This was referenced Mar 16, 2013
@rezahousseini
Copy link

I get errors on Arch Linux:

Running tests...
Test project /home/hous/code/Boost.NumPy/build
Start 1: dtype_mod
1/6 Test #1: dtype_mod ........................***Failed Error regular expression found in output. Regex=[ERROR:] 0.17 sec
Start 2: indexing_mod
2/6 Test #2: indexing_mod ..................... Passed 0.14 sec
Start 3: ndarray_mod
3/6 Test #3: ndarray_mod ...................... Passed 0.14 sec
Start 4: shapes_mod
4/6 Test #4: shapes_mod ....................... Passed 0.13 sec
Start 5: templates_mod
5/6 Test #5: templates_mod .................... Passed 0.14 sec
Start 6: ufunc_mod
6/6 Test #6: ufunc_mod ........................ Passed 0.14 sec

83% tests passed, 1 tests failed out of 6

Total Test time (real) = 0.86 sec

The following tests FAILED:
1 - dtype_mod (Failed)
Makefile:116: recipe for target 'test' failed

I don't see the problem. Incorporating dtype::get_builtin in my code causes a segfault.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants