Fix excessive errors in tests when one job fails.
authorCarl Hetherington <cth@carlh.net>
Fri, 8 May 2015 08:56:50 +0000 (09:56 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 8 May 2015 08:56:50 +0000 (09:56 +0100)
test/test.cc

index 2620800bcc95354ce6e0fe0131d11dadabbc95ce..e4461ea624f5b6eb3ac557e4c0826eab737ab0c1 100644 (file)
@@ -304,9 +304,9 @@ wait_for_jobs ()
                        }
                }
        }
-               
-       BOOST_CHECK (!jm->errors());
 
+       /* Discard all jobs so we lose any we just reported an error in */
+       JobManager::drop ();
        ui_signaller->ui_idle ();
 }