From: Carl Hetherington Date: Wed, 19 Jun 2019 16:42:00 +0000 (+0100) Subject: Add another ui_idle() call to ape the one in test.cc and try to fix strange behaviour... X-Git-Tag: v2.15.9~10 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=5d71b1c36905659809f72e1ea63c22c4293aa37f Add another ui_idle() call to ape the one in test.cc and try to fix strange behaviour where errors are not noted in tests. --- diff --git a/test/threed_test.cc b/test/threed_test.cc index f0ee13c9a..559cc4876 100644 --- a/test/threed_test.cc +++ b/test/threed_test.cc @@ -191,6 +191,8 @@ BOOST_AUTO_TEST_CASE (threed_test7) dcpomatic_sleep (1); } + while (signal_manager->ui_idle ()) {} + BOOST_REQUIRE (jm->errors()); shared_ptr failed; BOOST_FOREACH (shared_ptr i, jm->_jobs) {