Fix crash with sub-sample push parts in AudioMerger.
[dcpomatic.git] / test / threed_test.cc
index 559cc48766e0c2f789f2333a8b1fab07d4cdb610..c8735617184d52fb116845190f80ce31b83743b9 100644 (file)
@@ -188,11 +188,16 @@ BOOST_AUTO_TEST_CASE (threed_test7)
        JobManager* jm = JobManager::instance ();
        while (jm->work_to_do ()) {
                while (signal_manager->ui_idle()) {}
-               dcpomatic_sleep (1);
+               dcpomatic_sleep_seconds (1);
        }
 
        while (signal_manager->ui_idle ()) {}
 
+       std::cout << "Here's the jobs:\n";
+       BOOST_FOREACH (shared_ptr<Job> i, jm->_jobs) {
+               std::cout << i->name() << " " << i->status() << " " << i->is_new() << " " << i->running() << " " << i->finished() << " " << i->finished_ok() << " " << i->finished_in_error() << "\n";
+       }
+
        BOOST_REQUIRE (jm->errors());
        shared_ptr<Job> failed;
        BOOST_FOREACH (shared_ptr<Job> i, jm->_jobs) {