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) {