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

Still parse STF files, even when BMv2 model is not present in system #4222

Merged
merged 1 commit into from
Nov 5, 2023

Conversation

fruffy-g
Copy link
Contributor

@fruffy-g fruffy-g commented Nov 2, 2023

Small quality-of-life improvement. Still parse STF files even though the BMv2 model cannot be run.

@fruffy fruffy added the bmv2 Topics related to BMv2 or v1model label Nov 3, 2023
@jafingerhut
Copy link
Contributor

Is the reason for this so that even if a developer has not installed BMv2, that running p4c CI still does syntax checks on the STF files? Or is there some other benefit you have in mind here?

@fruffy-g
Copy link
Contributor Author

fruffy-g commented Nov 3, 2023

Is the reason for this so that even if a developer has not installed BMv2, that running p4c CI still does syntax checks on the STF files? Or is there some other benefit you have in mind here?

Yes, I ran into this exact problem. :) I erroneously assumed a test was passing even though the STF syntax was incorrect.

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

@fruffy fruffy merged commit 2dca845 into p4lang:main Nov 5, 2023
14 checks passed
@fruffy-g fruffy-g deleted the run_bmv2_test_fix branch December 7, 2023 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bmv2 Topics related to BMv2 or v1model
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants