summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2020-11-02Add some tests.v2.15.106Carl Hetherington
2020-11-02Replace dcp::Data with dcp::ArrayDataCarl Hetherington
2020-10-14Add test for #1857.Carl Hetherington
2020-10-14Fix test DCP index.Carl Hetherington
2020-10-13Remove some debug output.Carl Hetherington
2020-10-13Some macOS test build fixes.Carl Hetherington
2020-10-13Fix a REQUIRE that should be REQUIRE_EQUAL.Carl Hetherington
2020-10-13Hack to allow us to make a valid boost::filesystem::path from aCarl Hetherington
UTF8 constant on Windows. This might actually be a way to get around the fopen_boost hacks.
2020-10-13Modify KDM naming test to use shorter path names on Windows.Carl Hetherington
2020-10-13Remove dependency on srand() and predictable output from rand()Carl Hetherington
to work around a strange problem on Windows where this test would fail with the random values offset by 1 step.
2020-10-13Make socket tests connect explicitly to localhost to try to fixCarl Hetherington
error 1214 on Windows.
2020-10-13Use rand() instead of /dev/urandom to make test files.Carl Hetherington
2020-10-13Fix POSIX path embedded in test check string.Carl Hetherington
2020-10-13Try to make crypo_test more likely to pass.Carl Hetherington
2020-10-13Fix use of DCPOMATIC_TEST_PRIVATE variable to specify whereCarl Hetherington
test private data is.
2020-10-12Fix integer overflow in test.Carl Hetherington
2020-10-12Fix tests after changes made in 4f652387cbeeda9b7b8ace71e047c450acf5c871Carl Hetherington
2020-10-12Remove Image/GraphicsMagick dependency.Carl Hetherington
2020-10-12Fix incorrect sign on boost test constants.Carl Hetherington
2020-10-12Cope with different names for ImageMagick's .pc file (Linux and macOS).Carl Hetherington
2020-10-08Fix up config backup tests.Carl Hetherington
2020-09-29Make unit tests use their own configuration rather than whateverCarl Hetherington
happens to be in $HOME. This is especially important for signer certificates; without this it looks like the ones from $HOME will be used.
2020-09-29Remove debug code.Carl Hetherington
2020-09-27Fixes for new libdcp with multiple content versions.Carl Hetherington
2020-09-26It's not 7.1 until we have 12 channels.v2.15.103Carl Hetherington
2020-09-26Update test ref for new metadata.Carl Hetherington
2020-09-25Add NamedChannel and use it to hide the never-used channelsCarl Hetherington
when mapping into a DCP.
2020-09-23Support CPL metadata.Carl Hetherington
2020-09-21Fix --standard flag to dcpomatic2_cli (github #9).Carl Hetherington
Forward-ported-from-commit: c1e8c8638bcb3b4c9d90adc3719f38fa7bf81be9 Forward-ported-from-branch: master
2020-08-05Allow export with one audio stream per channel.v2.15.95Carl Hetherington
2020-08-03Add unit test for pulldown detection.Carl Hetherington
2020-07-29Fix bugs in thread termination causing occasional pthreadCarl Hetherington
assertion failures. Before this, it was possible for J2KEncoder::terminate_threads() to finish without terminating all threads if the thread _running_ terminate_threads() was itself interrupt()ed. This is because the thread_group::join_all() in terminate_threads() is an interruption point, so it was possible it not to complete but instead to throw interrupted_exception. Then the owning J2KEncoder would be torn down but the threads would still be running, causing use-after-frees. This commit adds some boost::this_thread::disable_interruption objects to ensure that the owning thread is not interrupted while it is being destroyed. Also tidy up code that does this stuff, assuming that it's safe to not call thread::joinable but instead do thread.interrupt(); try { thread.join(); } catch (...) {}
2020-07-28Add a test to trigger #1786 - crash when exporting 7.1 project to MP4.Carl Hetherington
2020-07-26Disable warnings from magick.Carl Hetherington
2020-07-26Fix test warningCarl Hetherington
2020-07-26Ignore libxml++ warnings in a nicer way.Carl Hetherington
2020-06-19Make Atmos content work more like other content. Now its MXFsv2.15.82Carl Hetherington
are re-written, meaning that they can be encrypted. This (along with the libdcp update) also fixes assorted Atmos bugs.
2020-06-14Fix error when exporting stereo projects with "mixdown to stereo"v2.15.79Carl Hetherington
set.
2020-06-11Update test/data for removed Film metadata tags Signed and UploadAfterMakeDCPv2.15.78Carl Hetherington
2020-06-08Remove encryption key options (#1760).Carl Hetherington
2020-05-21Fix enabled/disable overlapping video/audio with DCP content (part of #1355)Carl Hetherington
2020-05-20Round the length of video-containing content to the nearest frame.Carl Hetherington
It seems reasonable, and is in the spirit of how positions are rounded to frame boundaries. It also fixes problems with unnecessary frames of black being created at the end of trimmed files, where there can be rounding-error-based confusion about where the content stops and the black begins.
2020-05-20Add some context markers to a test.Carl Hetherington
2020-05-20Add a bit more debug logging to the player.Carl Hetherington
2020-05-20Cut the work done by a couple of tests, as previously they tookCarl Hetherington
a much longer time for questionable benefit in terms of test coverage.
2020-05-20More logging and make it go to the right place.Carl Hetherington
2020-05-20Run all tests with lots of encoding threads.Carl Hetherington
2020-05-18Add new version of check_dcp().Carl Hetherington
2020-05-17Add a descriptive comment to a test file.Carl Hetherington
2020-05-12Guess DCP container size and resolution when content is addedCarl Hetherington
or removed such that there is one piece of video content left in the project. Container size and resolution are never again guessed once the user has set them to something.