Skip to content

Commit

Permalink
Disable testUsdValidationContext for static builds, as these rely on …
Browse files Browse the repository at this point in the history
…test plugin build specifically for the test,

   and build system currently does not support this for static builds.

(Internal change: 2346048)
  • Loading branch information
tallytalwar authored and pixar-oss committed Oct 30, 2024
1 parent f030946 commit 1930e0b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pxr/usd/usd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1078,24 +1078,24 @@ pxr_register_test(testUsdValidator
EXPECTED_RETURN_CODE 0
)

pxr_register_test(testUsdValidationContext
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdValidationContext"
EXPECTED_RETURN_CODE 0
)

pxr_register_test(testUsdValidationRegistry
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdValidationRegistry"
EXPECTED_RETURN_CODE 0
)

# This test relies on a plugin built specifically for this test.
# The build system currently doesn't support this for static library
# builds, so we only enable this test on shared library builds.
#The following tests rely on plugins built specifically for them.
#The build system currently doesn't support test-specific plugins
#for static library builds, so we only enable these tests for
#shared library builds.
if (BUILD_SHARED_LIBS)
pxr_register_test(testUsdResolverChanged
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdResolverChanged"
EXPECTED_RETURN_CODE 0
)
pxr_register_test(testUsdValidationContext
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdValidationContext"
EXPECTED_RETURN_CODE 0
)
endif()

pxr_register_test(testUsdStageNoPython
Expand Down

0 comments on commit 1930e0b

Please sign in to comment.