Rename test method.
[dcpomatic.git] / test / test.cc
index 85c36c16c0038910242def9a57ed7ed05ed71e84..7e0f5734035bcd54dc8c9c0ec721e3e9e66d6c4e 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2017 Carl Hetherington <cth@carlh.net>
 
     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