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] Fix textproto generation and escape traces properly. #4207

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

fruffy
Copy link
Collaborator

@fruffy fruffy commented Oct 23, 2023

Cheap workaround to deal with double quote characters within a trace object. Also fix up the Protobuf format for P4Testgen test messages. We are currently not testing these, so breakages were not detected.

Fixes #4202. @qobilidop

@fruffy fruffy added the p4tools Topics related to the P4Tools back end label Oct 23, 2023
Copy link
Member

@smolkaj smolkaj left a comment

Choose a reason for hiding this comment

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

LGTM

@fruffy fruffy merged commit 0ba4abc into main Oct 26, 2023
13 checks passed
@fruffy fruffy deleted the fruffy/testgen_protobuf_fixes branch October 26, 2023 21:49
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.

[P4Testgen] How to capture traces in generated test cases?
2 participants