projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stop jobs silently failing in tests.
[dcpomatic.git]
/
test
/
audio_delay_test.cc
diff --git
a/test/audio_delay_test.cc
b/test/audio_delay_test.cc
index d486364f20f68c0678f2cbbb007dcb538292c3b5..9e738d14524248f6819cf5a2b51fe2fca0fe9433 100644
(file)
--- a/
test/audio_delay_test.cc
+++ b/
test/audio_delay_test.cc
@@
-60,11
+60,11
@@
void test_audio_delay (int delay_in_ms)
shared_ptr<FFmpegContent> content (new FFmpegContent("test/data/staircase.wav"));
film->examine_and_add_content (content);
shared_ptr<FFmpegContent> content (new FFmpegContent("test/data/staircase.wav"));
film->examine_and_add_content (content);
-
wait_for_jobs (
);
+
BOOST_REQUIRE (!wait_for_jobs()
);
content->audio->set_delay (delay_in_ms);
film->make_dcp ();
content->audio->set_delay (delay_in_ms);
film->make_dcp ();
-
wait_for_jobs (
);
+
BOOST_REQUIRE (!wait_for_jobs()
);
boost::filesystem::path path = "build/test";
path /= film_name;
boost::filesystem::path path = "build/test";
path /= film_name;