summaryrefslogtreecommitdiff
path: root/test/test.cc
AgeCommit message (Collapse)Author
2025-10-15Relax and tidy some test references for Arch.Carl Hetherington
2025-09-23Return quite close to original approach for "no colour conversion".Carl Hetherington
There's a few things going on here: 1. Improve the regression test for 3042. Previously we made a DCP from the reporter's _original_ prores file (before they converted it to XYZ) and compared the result to a reference J2K file of uncertain origin. This seems wrong because: a) We never got confirmation from the reporter that the fix worked for them, so any arbitrary reference is dubious. b) It doesn't seem to reflect their actual complaint, which was that they got a different result when making a DCP from XYZ TIFFs compared to their "XYZ" Prores. The new test makes a DCP from their TIFFs and "XYZ" Prores and compares the result. 2. Revert to the old approach to "no conversion" handling. In the good old days we did everything -> RGB48LE except XYZ12LE -> XYZ12LE, and that's what we do again here. 3. Change the YUV->RGB conversion from Rec.601 to Rec.709 for the "no conversion" case. This fixes the 3042 regression test. The supposed "XYZ" Prores is yuv444p12le according to ffprobe. So I think what we have here is actually a file that was converted to XYZ and then back to YUV by Resolve. I experimented with using the raw YUV values and considering them as XYZ but this was clearly wrong. I think 3 is probably what I should have done in the first place.
2025-09-22Rename check_one_frame -> check_one_frame_against_j2cCarl Hetherington
2025-07-15Change Film::examine_and_add_content to take a vector of content.Carl Hetherington
2025-07-10Remove compose.hpp includes.Carl Hetherington
sed -i "/include.*compose.hpp/d;" src/lib/*.cc src/wx/*.cc src/wx/*.h src/tools/*.cc src/lib/*.h test/*.cc
2025-07-10Replace String::compose with fmt.Carl Hetherington
sed -i "/Plural-Forms/n;/%100/n;/scanf/n;s/%[123456789]/{}/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc src/lib/po/*.po src/wx/po/*.po src/tools/po/*.po test/*.cc sed -i "s/String::compose */fmt::format/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc test/*.cc
2025-07-10Convert some paths to string.Carl Hetherington
2025-05-29Interpret relative cinemas SQLite3 paths as being relative to the config.xml ↵Carl Hetherington
(#3038).
2025-05-26Fix incorrect colours with "no colourspace conversion" sources that are not ↵Carl Hetherington
AV_PIX_FMT_XYZ12LE. Prepare the image for where it is going to next. I don't understand the difference in this situation between XYZ12LE and RGB48LE (it seems they are both 16-bit-per-channel) but there you go.
2025-05-19Tidy up finding required files during tests.Carl Hetherington
In particular, prefer not to use lots of fallback attempts. It seems that something funny is going on with how we find Liberation Sans on Linux, meaning that we were sometimes using the OS copy of the font when we didn't mean to.
2025-03-16Whitespace fix.Carl Hetherington
2025-02-10Improve test failure message.Carl Hetherington
2024-12-26Setup path encoding for Windows in tests.Carl Hetherington
Then we can create boost::filesystem::paths from UTF-8 literals without everything going west.
2024-12-09Use all cores when encoding in tests.Carl Hetherington
I think this also avoids the possibility of setting the master encoding thread count to 0 by mistake on machines that don't have many cores.
2024-11-29Make sure grok isn't enabled for tests.Carl Hetherington
2024-09-03Adapt to some libdcp class renaming to allow open captions/closed subtitles.Carl Hetherington
2024-06-24Add some context on XML comparison failures.Carl Hetherington
2024-05-29Remove default Interop/SMPTE setting.Carl Hetherington
2024-05-29Remove default video bit rate settings.Carl Hetherington
2024-05-29Remove default DCP audio channel setting.Carl Hetherington
2024-05-29Remove default DCP content type setting.Carl Hetherington
2024-05-29Use ConfigRestorer to reset override_path after use.Carl Hetherington
2024-05-25Improve save-template dialog and always use a default template.Carl Hetherington
2024-05-22Rename new_test_film2 -> new_test_film.Carl Hetherington
2024-05-21Replace all new_test_film with new_test_film2.Carl Hetherington
2024-05-06Use sqlite for cinema and DKDM recipient lists.Carl Hetherington
2024-04-22Allow specification of video bit rate separately for J2K and MPEG2.Carl Hetherington
2024-04-21Rename j2k_bandwidth -> video_bit_rate.Carl Hetherington
2024-04-21Rename classes to follow preparatory renames in libdcp.Carl Hetherington
2024-04-17Separate GUI verifier with basic reporting (#1823).Carl Hetherington
2024-03-22Bump libdcp for new asdcplib version.Carl Hetherington
2024-03-20Allow building with C++17 and updated libxml++/pangomm/cairomm.Carl Hetherington
2024-03-11Make check_one_frame more verbose when it fails.Carl Hetherington
2024-03-11Fix memory leak in test.Carl Hetherington
2024-01-28Make stop() private and use drop() instead.Carl Hetherington
This avoids confusing situations where we call stop(), then try to restart the finder (unsuccessfully, because once it's stop()ped it will stay around, never to be restarted).
2024-01-28Write player debug logs from tests on -- --log=debug-playerCarl Hetherington
2024-01-15Inspect most DCPs made during tests with ClairMeta (#76).Carl Hetherington
2024-01-15Inspect most DCPs made during tests with dcp_inspect (#76).Carl Hetherington
2023-11-20Verify encrypted DCPs (more) correctly (#2659).Carl Hetherington
2023-11-12Replace deprecated leaf() with filename().Carl Hetherington
2023-10-09Use dcp::filesystem to wrap filesystem calls and fix_long_pathCarl Hetherington
anything that is passed to read_file() from libcxml. This should fix #2623 and other similar problems.
2023-08-29Give a more useful error when check_dcp() fails.Carl Hetherington
2023-08-27Fix tests when changing the cinemas file.Carl Hetherington
2023-08-26Try to capture ffmpeg logs during tests.Carl Hetherington
2023-08-11Fix tests on Windows.Carl Hetherington
2023-07-29Check channel count when comparing audio MXFs.Carl Hetherington
2023-07-29Don't check sound assets in some tests.Carl Hetherington
When fiddling with MXF channel counts it makes a lot of tests fail that probably don't need to.
2023-07-27Bump libdcp to one with some cleanups / header re-arrangement.Carl Hetherington
2023-06-29Disable asset hash checks that the libdcp bump fixes.Carl Hetherington
2023-05-30Clarify some test failure messages.Carl Hetherington