Disable tests which depend on variable font rendering.
[dcpomatic.git] / test / upmixer_a_test.cc
index 67e909ed26a9e2d7028232a1db5512301f1d914b..bdca521a22ccaedd40f9ebf9625ace55d26d6739 100644 (file)
@@ -38,7 +38,7 @@ BOOST_AUTO_TEST_CASE (upmixer_a_test)
        film->set_name ("frobozz");
        shared_ptr<SndfileContent> content (new SndfileContent (film, "test/data/white.wav"));
        content->set_audio_processor (AudioProcessor::from_id ("stereo-5.1-upmix-a"));
-       film->examine_and_add_content (content);
+       film->examine_and_add_content (content, true);
 
        wait_for_jobs ();
 
@@ -71,10 +71,10 @@ BOOST_AUTO_TEST_CASE (upmixer_a_test)
        sf_close (Ls);
        sf_close (Rs);
 
-       check_file ("test/data/upmixer_a_test/L.wav", "build/test/upmixer_a_test/L.wav");
-       check_file ("test/data/upmixer_a_test/R.wav", "build/test/upmixer_a_test/R.wav");
-       check_file ("test/data/upmixer_a_test/C.wav", "build/test/upmixer_a_test/C.wav");
-       check_file ("test/data/upmixer_a_test/Lfe.wav", "build/test/upmixer_a_test/Lfe.wav");
-       check_file ("test/data/upmixer_a_test/Ls.wav", "build/test/upmixer_a_test/Ls.wav");
-       check_file ("test/data/upmixer_a_test/Rs.wav", "build/test/upmixer_a_test/Rs.wav");
+       check_audio_file ("test/data/upmixer_a_test/L.wav", "build/test/upmixer_a_test/L.wav");
+       check_audio_file ("test/data/upmixer_a_test/R.wav", "build/test/upmixer_a_test/R.wav");
+       check_audio_file ("test/data/upmixer_a_test/C.wav", "build/test/upmixer_a_test/C.wav");
+       check_audio_file ("test/data/upmixer_a_test/Lfe.wav", "build/test/upmixer_a_test/Lfe.wav");
+       check_audio_file ("test/data/upmixer_a_test/Ls.wav", "build/test/upmixer_a_test/Ls.wav");
+       check_audio_file ("test/data/upmixer_a_test/Rs.wav", "build/test/upmixer_a_test/Rs.wav");
 }