-
Notifications
You must be signed in to change notification settings - Fork 455
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
Adsk Contrib - Improve the OSL unit test framework #1514
Adsk Contrib - Improve the OSL unit test framework #1514
Conversation
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
When using
|
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
The above commit finally completes the work on the When the locally compiled version of When using the system installed version of |
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
Not commenting on the OSL side directly, even though the code looks good to me:
|
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
The previous commit improves the OSL library find and the OSL version to enhance the validation against the C++ version. |
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
Friendly reminder that the pull request can now be merged this week. |
@remia @michdolan The pull request is now older enough to be merged (i.e. following the two-weeks rule). Could you have a look some so I can merge it this week? |
The two libraries are part of the CI Linux containers, and the OSL unit tests successfully run. I did not plan to do anything for the @remia @michdolan Do you think the |
Good point, I missed that, only 3 out of 12 Linux CI jobs appears to have the dependencies to run the OSL tests but this is probably fine. I don't think we need to run these on Windows or macOS as you said it's platform independent, unless @lgritz thinks it's important. |
@remia No, as you said, the osl is platform independent. |
* Adsk Contrib - Improve the OSL unit test framework Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Fix a Linux build break Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Fix a 'git rebase' break Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Some improvements Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Workaround to sucesfully link with OSL Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Found the right fix Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Add more tests for Grading ops Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Improve OSL library find Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Fix with OpenImageIO version requires C++14 Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Another OSL cmake improvement Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
* Adsk Contrib - Improve the OSL unit test framework Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Fix a Linux build break Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Fix a 'git rebase' break Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Some improvements Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Workaround to sucesfully link with OSL Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Found the right fix Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Add more tests for Grading ops Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Improve OSL library find Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Fix with OpenImageIO version requires C++14 Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com> * Another OSL cmake improvement Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
Signed-off-by: Patrick Hodoul Patrick.Hodoul@autodesk.com
The pull request finalizes the OSL unit test framework to compile and run the generated OSL shaders. In order to ease the unit test coverage, the OSL unit tests have exactly the same name & behavior than the GPU ones except that there are no LUT and dynamic property support.