X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2F4k_test.cc;h=9e80a6e27bb035c25e940fd8dccf3d9b060a57fc;hb=HEAD;hp=4db576cfc0d1db1f4c2aa464b2144b492242ab5c;hpb=39fb8198febde1937019db1c300ec363aab5aa56;p=dcpomatic.git diff --git a/test/4k_test.cc b/test/4k_test.cc index 4db576cfc..9e80a6e27 100644 --- a/test/4k_test.cc +++ b/test/4k_test.cc @@ -29,17 +29,16 @@ */ -#include -#include "lib/film.h" -#include "lib/ffmpeg_content.h" #include "lib/dcp_content_type.h" -#include "lib/video_content.h" -#include "lib/ratio.h" #include "lib/dcpomatic_log.h" +#include "lib/ffmpeg_content.h" +#include "lib/film.h" +#include "lib/ratio.h" +#include "lib/video_content.h" #include "test.h" +#include -using std::shared_ptr; using std::make_shared; @@ -65,5 +64,9 @@ BOOST_AUTO_TEST_CASE (fourk_test) boost::filesystem::path p (test_film_dir("4k_test")); p /= film->dcp_name (); - check_dcp ("test/data/4k_test", p.string()); + /* This test is concerned with the image and its metadata, so we'll + * ignore any differences in sound between the DCP and the reference to + * avoid test failures for unrelated reasons. + */ + check_dcp("test/data/4k_test", p.string(), true); }