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

Log input files and test case paths when ONNX tests fail. #19

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

ScottTodd
Copy link
Member

Comment on lines +403 to +405
test_github_url = (
"https://github.com/iree-org/iree-test-suites/blob/main/onnx_ops/"
+ cwd.relative_to(THIS_DIR).as_posix()
Copy link
Member Author

Choose a reason for hiding this comment

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

This URL could also be derived from git or the environment somehow:

  • not blob/main, but blob/[CURRENT HASH]
  • not necessarily iree-org/iree-test-suites

Seems fine to just hardcode it for now. The test case source files don't change frequently.

@ScottTodd
Copy link
Member Author

Ping?

Copy link
Contributor

@saienduri saienduri left a comment

Choose a reason for hiding this comment

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

LGTM

@ScottTodd ScottTodd merged commit 9e921d0 into iree-org:main Aug 29, 2024
2 checks passed
@ScottTodd ScottTodd deleted the onnx-error-logs branch August 29, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve logging when tests fail in iree_tests
2 participants