Skip to content

how to run tests on Ubuntu/Debian #1

@radarsat1

Description

@radarsat1

Hi, I have installed libboost-dev, libboost-tools-dev, and libatlas-base-dev (libatlas-dev on Ubuntu) so I have the b2 tool available. In the numeric_bindings folder I run the following,

$ cd numeric_bindings
$ env BOOST_ROOT=`pwd` sh -c "cd libs/numeric/bindings/blas/test; b2"

And the tests begin to run! However, some of them do not compile. I just want to make sure, is this the right way to run the tests?

e.g.

blas1.cpp:176:17: error: ‘copy_vector’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
      copy_vector(w);
      ~~~~~~~~~~~^~~

I tried also downloading the full boost sources and pointing BOOST_ROOT to the root of it, but I get similar errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions