projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ad291d
)
Stop ui_idle() being called loads and loads of times during tests.
author
Carl Hetherington
<cth@carlh.net>
Wed, 26 Aug 2015 21:24:02 +0000
(22:24 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 26 Aug 2015 21:24:02 +0000
(22:24 +0100)
test/test.cc
patch
|
blob
|
history
diff --git
a/test/test.cc
b/test/test.cc
index 060386089387c527c31376566cf2681aed8115fd..b70e2354e9fd7a13304fd62f5393f9359b371eed 100644
(file)
--- a/
test/test.cc
+++ b/
test/test.cc
@@
-292,6
+292,7
@@
wait_for_jobs ()
JobManager* jm = JobManager::instance ();
while (jm->work_to_do ()) {
signal_manager->ui_idle ();
+ dcpomatic_sleep (1);
}
cout << "Waiting for jobs: all finished; errors=" << jm->errors() << ".\n";