Is ./b2 status
the correct way to run the tests that come with Boost? To test the libraries themselves?
Related question. Is it generally a good idea to run a libraries test suite, or can the designers be trusted to have run it themselves before deploying?
You can run all the Boost unit tests with:
cd <boost-root>/status
b2
Or you can also:
cd <boost-root>/libs/<a-library>/test
b2
And all most of the unit tests are run continuously as part of library development. You can see the results of the tests in the regression test results. Note that libraries can also have extended tests that are not generally run. You would need to consult the particular library docs to see how to run the additional tests.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With