-
Notifications
You must be signed in to change notification settings - Fork 598
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
Fix incorrect branch name when cloning openexr-images for the tests #3814
Fix incorrect branch name when cloning openexr-images for the tests #3814
Conversation
Good catch. Fixing the URL is definitely good. In fact, it looks like maybe we have been skipping some of the openexr tests in CI because of this, and had not noticed! That's very bad, really embarrassing oversight. (I, frankly, never thought to check and if you had asked me, I would have said I assumed that the branch rename would forever after redirect properly so that any requests for master would get main automatically.) Some of the test failures you're seeing appear to be because these tests haven't run for a while for those testing combinations, and need some updates to the reference output for those tests. I won't hold up this PR because of that, I will just fix it after the fact by checking in new ref output. I'm still confused about why the |
I'm confused too. When |
OK, then let's keep your logic change, but can you please put in a comment that explains that we thought that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the fix
…tests (AcademySoftwareFoundation#3814) The `openexr-images` repo was never updated after the default branch was renamed to `main`. This will fix the following silent errors in CI: ``` Cloning into '/__w/oiio/oiio/build/testsuite/openexr-images'... warning: Could not find remote branch master to clone. fatal: Remote branch master not found in upstream origin ``` Additionally, the cmake attempted to symbolically link local repos like `oiio-images` if they were found. Unfortunately this type of link will fail unless running as admin on Windows (which is rare) and the COPY_ON_ERROR directive did _not_ work here (cmake 3.24; weird; sigh...). The output will now look something like the following: ``` -- Linking oiio-images from C:/Users/jesse/source/oiio-images -- Link result failed to create symbolic link 'C:/Users/jesse/source/oiio/build/testsuite/oiio-images': A required privilege is not held by the client. -- Copying oiio-images from C:/Users/jesse/source/oiio-images ```
Description
The
openexr-images
repo was never updated after the default branch was renamed tomain
. This will fix the following silent errors in CI:Additionally, the cmake attempted to symbolically link local repos like
oiio-images
if they were found. Unfortunately this type of link will fail unless running as admin on Windows (which is rare) and the COPY_ON_ERROR directive did not work here (cmake 3.24; weird; sigh...). The output will now look something like the following:Tests
These were found while trying to get the test suite running on Windows here in preparation for some development. Sadly the suite is still not running correctly at all so I may have to rely on the CI.
Checklist:
have previously submitted a Contributor License Agreement
(individual, and if there is any way my
employers might think my programming belongs to them, then also
corporate).
(adding new test cases if necessary).