projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee1d68b
)
Attempt to fix test idle hacks.
author
Carl Hetherington
<cth@carlh.net>
Tue, 3 Nov 2015 22:22:18 +0000
(22:22 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 3 Nov 2015 22:22:18 +0000
(22:22 +0000)
test/test.cc
patch
|
blob
|
history
diff --git
a/test/test.cc
b/test/test.cc
index a6867487e8287a7d1aed304436640062dfaadd4d..366bc9302937330d12d0a3d0fd27ef250cfc3a7b 100644
(file)
--- a/
test/test.cc
+++ b/
test/test.cc
@@
-294,7
+294,7
@@
wait_for_jobs ()
{
JobManager* jm = JobManager::instance ();
while (jm->work_to_do ()) {
- signal_manager->ui_idle ();
+ while (signal_manager->ui_idle ()) {}
dcpomatic_sleep (1);
}
@@
-316,7
+316,7
@@
wait_for_jobs ()
}
}
- signal_manager->ui_idle ();
+ while (signal_manager->ui_idle ()) {}
if (jm->errors ()) {
JobManager::drop ();