summaryrefslogtreecommitdiff
path: root/test/test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-31 18:58:24 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-31 18:58:24 +0100
commitd02f1b0f08b3095816767ab7a70254aef50eb355 (patch)
tree26811832c7b89e59a75710e434eae33557f96303 /test/test.cc
parent8b2d460f1b76d3d1122cfdb2a6a33e6eab7cece4 (diff)
Various fixes to audio play wrt trimming and push/pull merger API.
Diffstat (limited to 'test/test.cc')
-rw-r--r--test/test.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test.cc b/test/test.cc
index 1fd79872f..2334523a1 100644
--- 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) {
- cerr << (*i)->error_summary () << "\n"
- << (*i)->error_details () << "\n";
+ if ((*i)->finished_in_error ()) {
+ cerr << (*i)->error_summary () << "\n"
+ << (*i)->error_details () << "\n";
+ }
}
}