Steven Lu
Steven Lu

Reputation: 43547

Does Boost have unit tests for itself?

It is difficult to find information on this because of two reasons:

I would like to know if boost contains any tests for testing itself. For example many excellent open source libraries and applications have make check or make check-all or make test targets, but I cannot try that here because boost does not use make.

Upvotes: 10

Views: 1518

Answers (2)

Marshall Clow
Marshall Clow

Reputation: 16690

If you run b2 from the test directory of a given library, it will run the tests for that library.

If you run b2 from the top level status directory of your boost folder, it will run the tests for all libraries.

Upvotes: 16

jwismar
jwismar

Reputation: 12268

This appears to be an up-to-date page that talks about running the testing suite within the boost libraries.

http://www.boost.org/build/doc/html/bbv2/builtins/testing.html

It's a bit too long to quote at length.

Upvotes: 0

Related Questions