-
Notifications
You must be signed in to change notification settings - Fork 76
Start moving ctlrender tests to CTest #114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I'm not really sure why these tests are failing, It seems any time ctlrender is run via the CI with tiff files it fails and I can't work out why. I appreciate this might not be the way you want to go anyway but it seems worth pursuing. |
@ThomasWilshaw does your PR include creating the output folder for the ctlrender conversions? In the existing |
No it doesn't actually, good spot. Are you thinking different libraries handle none existing folders differently? |
yeah, i think there may not be good handling of invalid input or output filenames. I added one message to exr_read() last month. It certainly helps for debugging to have a message on why something fails, rather than just silently failing. |
maybe a better approach would be to store the output files somewhere the |
That seems ot have work pretty well. A new folder is created a build time in the unit test ctlrender subdirectory and all the outputs are stored in there. Most of the CI tests seem to be passing now. |
@ThomasWilshaw now that this approach seems to be working, can you also add the exr -> exr and tiff32->exr and exr->tiff32 tests from existing Also, since we discovered the silent failure for invalid filenames, it might be good to also have tests that we expect to fail included like you did for the
|
Yes I can add all that. I wanted to make sure things were working before I went too far. |
I've added all the requested tests. With regards to updating ctlrender's missing file code should that be a seperate PR to stop this one going to0 far out of scope? |
I agree, lets get this PR merged and then add a check of invalid filename in dpx_read() in another PR, I added issue #122 to help track it |
This PR is an experiment in moving the
ctlrender
tests from a bash script to CTest to make them more cross platform compatible.