set(PXR_PREFIX pxr/usdImaging) set(PXR_PACKAGE usdrecord) pxr_python_bin(usdrecord DEPENDENCIES usd usdAppUtils) pxr_install_test_dir( SRC testenv/RecordTest DEST testUsdRecordSingleFrame ) pxr_install_test_dir( SRC testenv/RecordTest DEST testUsdRecordMultipleFrames ) if (NOT PXR_HEADLESS_TEST_MODE) pxr_register_test(testUsdRecordSingleFrame PYTHON COMMAND "${CMAKE_INSTALL_PREFIX}/bin/usdrecord AnimCube.usda AnimCube.png" EXPECTED_RETURN_CODE 0 ) pxr_register_test(testUsdRecordMultipleFrames PYTHON COMMAND "${CMAKE_INSTALL_PREFIX}/bin/usdrecord AnimCube.usda AnimCube.#.png --frames 1,5,10" EXPECTED_RETURN_CODE 0 ) endif()