projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6157623
)
Add some debugging for the weird 'you must add some content' occasional test failure.
author
Carl Hetherington
<cth@carlh.net>
Thu, 4 Jun 2015 09:59:09 +0000
(10:59 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 4 Jun 2015 09:59:09 +0000
(10:59 +0100)
test/test.cc
patch
|
blob
|
history
diff --git
a/test/test.cc
b/test/test.cc
index 4eafe4ed0d63220a4328bb334bdef594fdceb5ad..b7ae1dec90aff95afa51da555bd6f360ee2b1db0 100644
(file)
--- a/
test/test.cc
+++ b/
test/test.cc
@@
-288,6
+288,8
@@
wait_for_jobs ()
while (jm->work_to_do ()) {
signal_manager->ui_idle ();
}
+
+ cout << "Waiting for jobs: all finished; errors=" << jm->errors() << ".\n";
if (jm->errors ()) {
int N = 0;
@@
-310,7
+312,10
@@
wait_for_jobs ()
signal_manager->ui_idle ();
if (jm->errors ()) {
+ cout << "Dropping JobManager\n";
JobManager::drop ();
+ } else {
+ cout << "Not dropping JobManager\n";
}
}