X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Ftest.cc;h=7e0f5734035bcd54dc8c9c0ec721e3e9e66d6c4e;hb=eea4471bb8c681b9130d4c5049f386b240a3ac3a;hp=85c36c16c0038910242def9a57ed7ed05ed71e84;hpb=f1d209319f90adc50e0f3d2a853216052f290bd5;p=dcpomatic.git diff --git a/test/test.cc b/test/test.cc index 85c36c16c..7e0f57340 100644 --- a/test/test.cc +++ b/test/test.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2015 Carl Hetherington + Copyright (C) 2012-2017 Carl Hetherington This file is part of DCP-o-matic. @@ -120,7 +120,7 @@ new_test_film (string name) } void -check_audio_file (boost::filesystem::path ref, boost::filesystem::path check) +check_wav_file (boost::filesystem::path ref, boost::filesystem::path check) { SF_INFO ref_info; ref_info.format = 0; @@ -175,7 +175,7 @@ check_image (boost::filesystem::path ref, boost::filesystem::path check) ref_image.read (ref.string ()); Magick::Image check_image; check_image.read (check.string ()); - DCPOMATIC_ASSERT (ref_image.compare (check_image)); + BOOST_CHECK_MESSAGE (ref_image.compare (check_image), ref << " differs from " << check); } void