unit tests can be really slow under wine because BOOST_CHECK logs something for all tests. This patch makes them faster by only logging tests which fail. PR’d an alternative to #8632.
Benchmarks
Wine
Before:
real 3m52.840s user 3m52.217s sys 0m0.241s
Just Prevector:
real 0m30.358s user 0m29.695s sys 0m0.165s
After:
real 0m20.445s user 0m19.888s sys 0m0.193s
Ubuntu
Before:
real 0m20.887s user 0m20.360s sys 0m0.108s
After:
real 0m11.894s user 0m11.645s sys 0m0.060s