Boost logo

Boost :

From: stefan (stefan_at_[hidden])
Date: 2020-08-14 14:33:23

On 2020-08-14 10:10 a.m., Peter Dimov via Boost wrote:
> stefan wrote:
>> 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:
> Looks like this ought to have been fixed by
> A search for
> lightweight_test in boostorg/python turns up nothing else suspicious.

Oh, you are right ! I was looking at the test report from master, but
was looking at the code from the `development` branch.

> This commit, along with all the others since April, hasn't been merged
> to master though, and is consequently not in 1.74.

Yes, sorry about that. I'm now trying to catch up on a number of issues
- unfortunately too late for 1.74, but will make sure to merge all the
current work as soon as the release is done.


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

Boost list run by bdawes at, gregod at, cpdaniel at, john at