projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix failure to analyse audio in some cases.
[dcpomatic.git]
/
test
/
test.cc
diff --git
a/test/test.cc
b/test/test.cc
index c7a9e95bfd6f8d6a78eda143c4020f4d4bf458ce..c57f76e61c7f98a97effb69622a682308a81ea35 100644
(file)
--- a/
test/test.cc
+++ b/
test/test.cc
@@
-291,7
+291,7
@@
check_xml (boost::filesystem::path ref, boost::filesystem::path test, list<strin
check_xml (ref_root, test_root, ignore);
}
-void
+bool
wait_for_jobs ()
{
JobManager* jm = JobManager::instance ();
@@
-322,7
+322,10
@@
wait_for_jobs ()
if (jm->errors ()) {
JobManager::drop ();
+ return true;
}
+
+ return false;
}
void