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

Fix incorrect tests : totalLen field of ipv4 header, action name in add_entry call #3647

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

usha1830
Copy link
Contributor

@usha1830 usha1830 commented Nov 1, 2022

Fixes #3636.
Also fixes the incorrect action name in add_entry call for few tests

@usha1830
Copy link
Contributor Author

usha1830 commented Nov 1, 2022

Some tests have some user- defined struct field within the header (testdata/p4_16_samples/psa-example-dpdk-byte-alignment_6.p4, testdata/p4_16_samples/psa-example-dpdk-byte-alignment_8.p4 etc) . This was added for testing byte alignment feature for struct field within header which is initialized using {}.

I have not removed such fields, only modified the totalLen field and its usage in the program.

Copy link
Contributor

@jafingerhut jafingerhut left a comment

Choose a reason for hiding this comment

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

LGTM.

@jafingerhut jafingerhut merged commit 91bf913 into p4lang:main Nov 1, 2022
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.

Test programs that would be nice to fix
2 participants