From: Carl Hetherington Date: Fri, 1 Nov 2019 07:21:33 +0000 (+0100) Subject: More detailed test logger. X-Git-Tag: v2.15.29~9 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=3ddc31b37c492b4a6bd0ad2bf3b5dba6a8f41850 More detailed test logger. --- diff --git a/test/required_disk_space_test.cc b/test/required_disk_space_test.cc index a66b6645e..7f907cfc3 100644 --- a/test/required_disk_space_test.cc +++ b/test/required_disk_space_test.cc @@ -34,7 +34,7 @@ using boost::dynamic_pointer_cast; void check_within_n (int64_t a, int64_t b, int64_t n) { - BOOST_CHECK (abs (a - b) <= n); + BOOST_CHECK_MESSAGE (abs(a - b) <= n, "Estimated " << a << " differs from reference " << b << " by more than " << n); }