projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Various fixes to audio play wrt trimming and push/pull merger API.
[dcpomatic.git]
/
test
/
test.cc
diff --git
a/test/test.cc
b/test/test.cc
index 1fd79872fa3337668144d4d0809939276a18f40c..2334523a1337696f74e271bec138503159343fb1 100644
(file)
--- a/
test/test.cc
+++ b/
test/test.cc
@@
-144,8
+144,10
@@
wait_for_jobs ()
while (jm->work_to_do ()) {}
if (jm->errors ()) {
for (list<shared_ptr<Job> >::iterator i = jm->_jobs.begin(); i != jm->_jobs.end(); ++i) {
while (jm->work_to_do ()) {}
if (jm->errors ()) {
for (list<shared_ptr<Job> >::iterator i = jm->_jobs.begin(); i != jm->_jobs.end(); ++i) {
- cerr << (*i)->error_summary () << "\n"
- << (*i)->error_details () << "\n";
+ if ((*i)->finished_in_error ()) {
+ cerr << (*i)->error_summary () << "\n"
+ << (*i)->error_details () << "\n";
+ }
}
}
}
}