-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3479 from Autodesk/bailp/EMSUSD-820/more-pixar-tests
EMSUSD-820 run more of the Pixar plugin tests
- Loading branch information
Showing
10 changed files
with
174 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
add_subdirectory(usdMaya) | ||
|
||
add_subdirectory(pxrUsdMayaGL) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Unit test scripts. | ||
set(TEST_SCRIPT_FILES | ||
testenv/testRefAssemblyDrawRepresentations.py | ||
testenv/testBatchRendererIsolateSelection.py | ||
testenv/testPxrUsdMayaGLInstancerDraw.py | ||
) | ||
|
||
foreach(script ${TEST_SCRIPT_FILES}) | ||
mayaUsd_get_unittest_target(target ${script}) | ||
mayaUsd_add_test(${target} | ||
INTERACTIVE | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} | ||
PYTHON_SCRIPT ${script} | ||
ENV | ||
"LD_LIBRARY_PATH=${ADDITIONAL_LD_LIBRARY_PATH}" | ||
|
||
# Maya uses a very old version of GLEW, so we need support for | ||
# pre-loading a newer version from elsewhere. | ||
"LD_PRELOAD=${ADDITIONAL_LD_PRELOAD}" | ||
|
||
# All of the pxrUsdMayaGL tests exercise Pixar's batch renderer, so | ||
# we turn the Viewport 2.0 render delegate off. | ||
"MAYAUSD_DISABLE_VP2_RENDER_DELEGATE=1" | ||
|
||
# Fallback to old color management. We will have to investigate | ||
# and introduce OCIOv2 compatible version of these tests. | ||
"MAYA_COLOR_MANAGEMENT_SYNCOLOR=1" | ||
) | ||
|
||
# Assign a CTest label to these tests for easy filtering. | ||
set_property(TEST ${target} APPEND PROPERTY LABELS pxrUsdMayaGL) | ||
endforeach() |
Binary file added
BIN
+47.1 KB
.../lib/pxrUsdMayaGL/testenv/InstancerDrawTest/baseline/InstancerTest_cards_v1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+31.9 KB
...ib/pxrUsdMayaGL/testenv/InstancerDrawTest/baseline/InstancerTest_frame50_v1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+25.9 KB
.../pxrUsdMayaGL/testenv/InstancerDrawTest/baseline/InstancerTest_instance2_v1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.5 KB
...rawRepresentationsTest/baseline/RefAssemblyDrawRepresentationsTest_Cards_v1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters