diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-10-09 10:35:49 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-10-15 22:33:26 +0200 |
| commit | 494dc3cee73ac03d84b9826869c8a4b92dc673c4 (patch) | |
| tree | 4c065b0f13b0d9f46c9d3b343d8d6093e913329c /test/test.cc | |
| parent | f6bbe3b9fbff328e80df16b389ff2b5d044f59aa (diff) | |
Relax and tidy some test references for Arch.
Diffstat (limited to 'test/test.cc')
| -rw-r--r-- | test/test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test.cc b/test/test.cc index 633e2df6a..6cdb6d510 100644 --- a/test/test.cc +++ b/test/test.cc @@ -557,8 +557,8 @@ check_dcp(boost::filesystem::path ref, boost::filesystem::path check, bool sound check_dcp.read (); dcp::EqualityOptions options; - options.max_mean_pixel_error = 5; - options.max_std_dev_pixel_error = 5; + options.max_mean_pixel_error = 8; + options.max_std_dev_pixel_error = 6; options.max_audio_sample_error = 255; options.cpl_annotation_texts_can_differ = true; options.reel_annotation_texts_can_differ = true; @@ -817,7 +817,7 @@ write_image (shared_ptr<const Image> image, boost::filesystem::path file) void -check_ffmpeg (boost::filesystem::path ref, boost::filesystem::path check, int audio_tolerance) +check_ffmpeg(boost::filesystem::path ref, boost::filesystem::path check, float audio_tolerance) { int const r = system (fmt::format("ffcmp -t {} {} {}", audio_tolerance, ref.string(), check.string()).c_str()); BOOST_REQUIRE_EQUAL (WEXITSTATUS(r), 0); |
