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

[P4Testgen] Fixes for the artifact evaluation. #4199

Merged
merged 1 commit into from
Oct 18, 2023
Merged

[P4Testgen] Fixes for the artifact evaluation. #4199

merged 1 commit into from
Oct 18, 2023

Conversation

fruffy
Copy link
Collaborator

@fruffy fruffy commented Oct 17, 2023

Fix up some code that is affecting the artifact evaluation for P4Testgen.

@fruffy fruffy added the p4tools Topics related to the P4Tools back end label Oct 17, 2023
@fruffy fruffy changed the title [P4Testegen] Fixes for the artifact evaluation. [P4Testgen] Fixes for the artifact evaluation. Oct 17, 2023
@@ -403,7 +403,7 @@ void Protobuf::emitTestcase(const TestSpec *testSpec, cstring selectedBranches,
LOG5("Protobuf test back end: emitting testcase:" << std::setw(4) << dataJson);
auto incrementedbasePath = basePath;
incrementedbasePath.concat("_" + std::to_string(testId));
incrementedbasePath.replace_extension(".stf");
incrementedbasePath.replace_extension(".proto");
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks, I hit this issue too :(

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In which context?

Copy link
Contributor

Choose a reason for hiding this comment

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

We were working on the user guide, and observed that the proto backend generated .stf file :)

@fruffy fruffy merged commit 112b734 into main Oct 18, 2023
14 checks passed
@fruffy fruffy deleted the fruffy/aec branch October 18, 2023 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p4tools Topics related to the P4Tools back end
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants