Rearrange checking (and re-examining) content.
[dcpomatic.git] / test / atmos_test.cc
index c3e8c341c2917c0a064d7df3d73ab937bce8a50b..ca55a13aeeedb1d64f8ba89bd738da7a1b041a9a 100644 (file)
@@ -46,8 +46,7 @@ BOOST_AUTO_TEST_CASE (atmos_passthrough_test)
                &cl
                );
 
-       film->make_dcp ();
-       BOOST_REQUIRE (!wait_for_jobs());
+       make_and_verify_dcp (film, {dcp::VerificationNote::Code::MISSING_CPL_METADATA});
 
        auto ref = TestPaths::private_data() / "atmos_asset.mxf";
        BOOST_REQUIRE (mxf_atmos_files_same(ref, dcp_file(film, "atmos"), true));