Debug for strange test failure in threed_test.
authorCarl Hetherington <cth@carlh.net>
Wed, 26 Jun 2019 21:17:43 +0000 (22:17 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 27 Jun 2019 22:56:47 +0000 (23:56 +0100)
test/threed_test.cc

index 559cc48766e0c2f789f2333a8b1fab07d4cdb610..2ff09c1275296f0d830e0e096d6797c52024029a 100644 (file)
@@ -193,6 +193,11 @@ BOOST_AUTO_TEST_CASE (threed_test7)
 
        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) {