diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-04 22:04:40 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-13 18:51:11 +0200 |
| commit | 5d937606cf96d163be98920fa5619114a28eec9d (patch) | |
| tree | 8e36025e51f2eaa9476de4c48810126a2f071127 /test/image_test.cc | |
| parent | 7b302908e4b6186c44fd3a97aa4ba0716fb8674f (diff) | |
Fix use of DCPOMATIC_TEST_PRIVATE variable to specify where
test private data is.
Diffstat (limited to 'test/image_test.cc')
| -rw-r--r-- | test/image_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/image_test.cc b/test/image_test.cc index 820a44e88..bdd34c665 100644 --- a/test/image_test.cc +++ b/test/image_test.cc @@ -137,7 +137,7 @@ BOOST_AUTO_TEST_CASE (compact_image_test) void alpha_blend_test_one (AVPixelFormat format, string suffix) { - shared_ptr<FFmpegImageProxy> proxy (new FFmpegImageProxy (TestPaths::private_data / "prophet_frame.tiff")); + shared_ptr<FFmpegImageProxy> proxy (new FFmpegImageProxy (TestPaths::private_data() / "prophet_frame.tiff")); shared_ptr<Image> raw = proxy->image().image; shared_ptr<Image> background = raw->convert_pixel_format (dcp::YUV_TO_RGB_REC709, format, true, false); @@ -173,7 +173,7 @@ alpha_blend_test_one (AVPixelFormat format, string suffix) shared_ptr<Image> save = background->convert_pixel_format (dcp::YUV_TO_RGB_REC709, AV_PIX_FMT_RGB24, false, false); write_image (save, "build/test/image_test_" + suffix + ".png"); - check_image ("build/test/image_test_" + suffix + ".png", TestPaths::private_data / ("image_test_" + suffix + ".png")); + check_image ("build/test/image_test_" + suffix + ".png", TestPaths::private_data() / ("image_test_" + suffix + ".png")); } /** Test Image::alpha_blend */ |
