Skip to content

Conversation

@cpcloud
Copy link
Contributor

@cpcloud cpcloud commented Dec 15, 2025

Small test refactor to avoid dumping files in $PWD during ProgramOptions testing.

@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Dec 15, 2025

Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@cpcloud
Copy link
Contributor Author

cpcloud commented Dec 15, 2025

/ok to test

@github-actions

This comment has been minimized.

@cpcloud cpcloud requested a review from leofang December 15, 2025 20:59
@cpcloud cpcloud changed the title test: avoid leaving files around during programoptions testing test: avoid leaving files around during ProgramOptions testing Dec 15, 2025

@pytest.mark.skipif(
(_get_nvrtc_version_for_tests() or 0) < 13000,
reason="buggy with NVRTC < 13.0 (File 'trace.json.json' could not be opened)",
Copy link
Collaborator

Choose a reason for hiding this comment

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

nitpick but can we make this trace.json instead of trace.json.json? 😆

Copy link
Member

Choose a reason for hiding this comment

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

That is the bug that led to this skip condition. We set the filename to trace.json but NVRTC 12.9 insisted to look for trace.json.json.

@leofang leofang merged commit 96a3f50 into NVIDIA:main Dec 16, 2025
214 of 216 checks passed
@leofang leofang added enhancement Any code-related improvements P1 Medium priority - Should do test Improvements or additions to tests cuda.core Everything related to the cuda.core module labels Dec 16, 2025
@leofang leofang added this to the cuda.core beta 10 milestone Dec 16, 2025
@github-actions
Copy link

Doc Preview CI
Preview removed because the pull request was closed or merged.

@cpcloud cpcloud deleted the cleanup-after-ourselves branch December 16, 2025 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuda.core Everything related to the cuda.core module enhancement Any code-related improvements P1 Medium priority - Should do test Improvements or additions to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants