Skip to content

Add utility for running USD tools + component creator tests.#4577

Merged
antonkhelou merged 5 commits intodevfrom
deboisj/cc_tests
Apr 21, 2026
Merged

Add utility for running USD tools + component creator tests.#4577
antonkhelou merged 5 commits intodevfrom
deboisj/cc_tests

Conversation

@deboisj
Copy link
Copy Markdown
Collaborator

@deboisj deboisj commented Apr 14, 2026

No description provided.

@deboisj deboisj changed the title Add more basic integration tests Add utility for running USD tools + component creator tests. Apr 16, 2026
Comment thread plugin/adsk/scripts/RunUsdTool.py Outdated
update_os_dylib_env_var(lib_folders)

# Run the specified tool executable with the remaining arguments
cmd = os.path.join(script_folder, tool_name)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDK if we should force the path of the tool instead of having teh user provide the exact path. That would allow to run any command with the extended env.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point



class _ComponentCreatorTestBase:
"""Shared helpers for component creator test cases."""
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to put this in its own file and test case in their file so that we don't have to have one gigantic test file. Could be done in another PR

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, ill split this later, once anton's tests are in we can think of the proper segmentation.

pierrebai-adsk
pierrebai-adsk previously approved these changes Apr 20, 2026
@deboisj deboisj assigned deboisj and unassigned antonkhelou and pierrebai-adsk Apr 20, 2026
@deboisj deboisj requested a review from antonkhelou April 20, 2026 19:16
@deboisj deboisj assigned deboisj and unassigned deboisj Apr 20, 2026
@deboisj deboisj added ready-for-merge Development process is finished, PR is ready for merge workflows Related to in-context workflows labels Apr 21, 2026
@antonkhelou antonkhelou added the shared_components Shared Components (Max / Maya) label Apr 21, 2026
@antonkhelou antonkhelou merged commit a54226e into dev Apr 21, 2026
11 checks passed
@antonkhelou antonkhelou deleted the deboisj/cc_tests branch April 21, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge Development process is finished, PR is ready for merge shared_components Shared Components (Max / Maya) workflows Related to in-context workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants