Handle multiple audio streams in a single piece of content
[dcpomatic.git] / test / audio_delay_test.cc
index 68e14ff3ca353f470d9f09f8c14112f6713b34a4..63f363114894a4ee119aaf271b8fb36453bcee46 100644 (file)
@@ -43,6 +43,8 @@ using boost::shared_ptr;
 static
 void test_audio_delay (int delay_in_ms)
 {
+       BOOST_TEST_MESSAGE ("Testing delay of " << delay_in_ms);
+       
        string const film_name = "audio_delay_test_" + lexical_cast<string> (delay_in_ms);
        shared_ptr<Film> film = new_test_film (film_name);
        film->set_dcp_content_type (DCPContentType::from_isdcf_name ("FTR"));
@@ -87,7 +89,7 @@ void test_audio_delay (int delay_in_ms)
                                delayed = 0;
                        }
 
-                       BOOST_CHECK_EQUAL (sample, delayed);
+                       BOOST_REQUIRE_EQUAL (sample, delayed);
                        ++n;
                }
        }