Skip to content

C++ units tests are not running when building the wheels #58

@nosmokingsurfer

Description

@nosmokingsurfer

to run tests during build can simply build all targets with turned on tests. need execute the following commands in build directory:

cmake .. -DBUILD_TESTING=ON
make all
make test

The result should be somewhat like this:

Running tests...
Test project .../mrob/build
    Start 1: test_SE3
1/2 Test #1: test_SE3 .........................   Passed    0.01 sec
    Start 2: test_SE3cov
2/2 Test #2: test_SE3cov ......................   Passed    0.02 sec

100% tests passed, 0 tests failed out of 2

Total Test time (real) =   0.03 sec

i guess during cmake lists refactoring this part was lost.
pytests are running

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions