Skip to content

Fix Zip-Nuget-Java Packaging Pipeline#7208

Merged
askhade merged 3 commits into
masterfrom
askhade/update_csharp_tests
Apr 5, 2021
Merged

Fix Zip-Nuget-Java Packaging Pipeline#7208
askhade merged 3 commits into
masterfrom
askhade/update_csharp_tests

Conversation

@askhade

@askhade askhade commented Apr 1, 2021

Copy link
Copy Markdown
Contributor

Description: Updating csharp test to ignore errors generated because of unsupported opset versions.

Motivation and Context

  • Why is this change required? What problem does it solve?
  • Fixing packaging pipeline
  • If it fixes an open issue, please link to the issue here.

@askhade
askhade requested a review from a team as a code owner April 1, 2021 17:20
Comment thread csharp/test/Microsoft.ML.OnnxRuntime.Tests/InferenceTest.cs Outdated
{
var msg = $"Opset {opset}, Model {modelName}: ModelFile = {onnxModelFileName} error = {ex.Message}";
throw new Exception(msg + "\n" + ex.StackTrace);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we print something that says this test was ignored because of an unsupported opset?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added already existing ITestOutputHelper output to print the skipped test information.

@askhade
askhade merged commit e7c5dcd into master Apr 5, 2021
@askhade
askhade deleted the askhade/update_csharp_tests branch April 5, 2021 17:58
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.

2 participants