Skip to content
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

[usdSkel] testUsdSkelBakeSkinning - only do usda diff on x86_64 arch #2154

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 19 additions & 6 deletions pxr/usd/usdSkel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,25 @@ pxr_register_test(testUsdSkelAnimQuery
EXPECTED_RETURN_CODE 0
)

pxr_register_test(testUsdSkelBakeSkinning
PYTHON
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdSkelBakeSkinning"
EXPECTED_RETURN_CODE 0
DIFF_COMPARE blendshapes.baked.usda blendshapesWithNormals.baked.usda lbs.baked.usda lbs.bakedInterval.usda
)
# Baselines for this test were generated on an x86_64 chip. The results may
# differ on other architectures due to floating point precision issues. So, we
# only perform the comparison on matching architectures. Ideally, we'd have a
# diff tool with numerical tolerances that would allow using the same baseline
# on all architectures.
if ("${CMAKE_HOST_SYSTEM_PROCESSOR}" STREQUAL "x86_64")
pxr_register_test(testUsdSkelBakeSkinning
PYTHON
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdSkelBakeSkinning"
EXPECTED_RETURN_CODE 0
DIFF_COMPARE blendshapes.baked.usda blendshapesWithNormals.baked.usda lbs.baked.usda lbs.bakedInterval.usda
)
else ()
pxr_register_test(testUsdSkelBakeSkinning
PYTHON
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdSkelBakeSkinning"
EXPECTED_RETURN_CODE 0
)
endif()

pxr_register_test(testUsdSkelBindingAPI
PYTHON
Expand Down