Skip to content

investigate dtype test failures on non-Linux64 platforms #26

Open

Description

@TallJimbo

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.

Activity

  1. rezahousseini commented on Nov 13, 2013

    @rezahousseini

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions