diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-06-19 17:42:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-06-27 23:56:47 +0100 |
| commit | 5d71b1c36905659809f72e1ea63c22c4293aa37f (patch) | |
| tree | 823e6dbc7192b521a6a7357bf3ef4facf0731346 | |
| parent | eee043737998021bb36fa202d68f1d7543f6ca6d (diff) | |
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.
| -rw-r--r-- | test/threed_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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<Job> failed; BOOST_FOREACH (shared_ptr<Job> i, jm->_jobs) { |
