Add automated tests for Storm, with both Hydra and USD export methods #66

Closed
Brecht Van Lommel wants to merge 3 commits from brecht:hydra-tests into hydra-render

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Collaborator

Needs WITH_OPENGL_RENDER_TESTS CMake option to be enabled.

I couldn't actually get it to work yet but I assume it will work after
BogdanNagirniak/blender#61.

Needs WITH_OPENGL_RENDER_TESTS CMake option to be enabled. I couldn't actually get it to work yet but I assume it will work after BogdanNagirniak/blender#61.
Brecht Van Lommel added 1 commit 2023-07-10 20:15:51 +02:00
Needs WITH_OPENGL_RENDER_TESTS CMake option to be enabled.

I couldn't actually get it to work yet but I assume it will work after
BogdanNagirniak/blender#61.
Bogdan Nagirniak requested review from Brian Savery (AMD) 2023-07-11 17:38:21 +02:00
Bogdan Nagirniak requested review from Georgiy Markelov 2023-07-11 17:38:21 +02:00
Bogdan Nagirniak requested review from Vasyl Pidhirskyi 2023-07-11 17:38:21 +02:00

How to run this automated test?

How to run this automated test?
Author
Collaborator

The general docs for running tests are here:
https://wiki.blender.org/wiki/Tools/Tests/Setup

Assuming you have the test files downloaded.

  • Set WITH_OPENGL_RENDER_TESTS=ON and rebuild.
  • make test will work, but ctest -C Release -R storm from the build folder will be faster to run just the Storm tests
  • There will be a tests/report.html in the build folder with the results (all the tests will fail because there is no reference image yet)
The general docs for running tests are here: https://wiki.blender.org/wiki/Tools/Tests/Setup Assuming you have the test files downloaded. * Set `WITH_OPENGL_RENDER_TESTS=ON` and rebuild. * `make test` will work, but `ctest -C Release -R storm` from the build folder will be faster to run just the Storm tests * There will be a `tests/report.html` in the build folder with the results (all the tests will fail because there is no reference image yet)
Brecht Van Lommel added 1 commit 2023-07-13 15:31:29 +02:00
Brecht Van Lommel added 1 commit 2023-07-13 20:12:56 +02:00
Author
Collaborator

If I combine this with #65 the tests can now actually run. Some tests crash and fail in various ways, revealing issues in both the Hydra scene delegate and USD exporter.

But we can work through those later.

If I combine this with #65 the tests can now actually run. Some tests crash and fail in various ways, revealing issues in both the Hydra scene delegate and USD exporter. But we can work through those later.
Author
Collaborator

I'll just merge this since it's not going to break anything else, can always iterate on this later, and juggling all these branches is a pain.

I'll just merge this since it's not going to break anything else, can always iterate on this later, and juggling all these branches is a pain.

Pull request closed

Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: BogdanNagirniak/blender#66
No description provided.