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 failing P4Testgen gtest. #4397

Merged
merged 1 commit into from
Feb 7, 2024
Merged

[P4Testgen] Fix failing P4Testgen gtest. #4397

merged 1 commit into from
Feb 7, 2024

Conversation

fruffy
Copy link
Collaborator

@fruffy fruffy commented Feb 6, 2024

I missed fixing a check in #4387.

std:vectorstd::vector> was flattened into std::vector<>, which is why this check is failing. We have a structure of [a,b,c] instead of [[a,b,c]] now.

@vlstill
Copy link
Contributor

vlstill commented Feb 7, 2024

What is the cause of the change? With just the change, I am not able to check this is a correct fix.

@fruffy
Copy link
Collaborator Author

fruffy commented Feb 7, 2024

In #4387 I flattened std:vector<std::vector>> into std::vector<>. There was no reason for it to be 2-dimensional, but that required fixing some checks in the gtests.

@fruffy fruffy merged commit 16893b2 into main Feb 7, 2024
16 checks passed
@fruffy fruffy deleted the fruffy/gtest_fix branch February 7, 2024 22:02
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.

3 participants