Boost logo

Boost :

From: stefan (stefan_at_[hidden])
Date: 2020-08-14 13:46:28


Hello,

With the Boost.Python tests I'm observing a couple of mysterious
failures, where the test application fails *after* the actual test
succeeded, with a message

main() should return report_errors()

I gather this error is emitted by the Boost.Lightweight_test library
whenever a test's main() function does not call `report_errors()` at the
end. The problem in my case is that my failing tests are not
(explicitly) using Boost.Lightweight_test. In fact, in all of the
failing cases I'm not even writing a `main()` function, as the test
driver is a Python script that's importing a (test) module.

For example:
https://www.boost.org/development/tests/master/developer/output/teeks99-05-mc9-2a-32onarmv7l-boost-bin-v2-libs-python-test-auto_ptr-test-clang-linux-9~c++2a-debug-python-2-7-threading-multi-visibility-hidden.html

Does anyone understand or has an idea how this could happen, and how to
fix this ?

Thanks,

Stefan

--
       ...ich hab' noch einen Koffer in Berlin...
     

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk