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

writes out json boolean values for valid match keys. #536

Merged
merged 1 commit into from
Apr 27, 2017

Conversation

cc10512
Copy link
Contributor

@cc10512 cc10512 commented Apr 27, 2017

Trivial fix to print the json boolean value.

@cc10512 cc10512 requested a review from antoninbas April 27, 2017 01:23
Copy link
Member

@antoninbas antoninbas left a comment

Choose a reason for hiding this comment

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

You may want to add an empty .stf file for your test program to ensure that bmv2 manages to load the generated JSON successfully.

@mihaibudiu
Copy link
Contributor

No need for an empty file, we always use one

@antoninbas
Copy link
Member

@mbudiu-vmw is that a recent thing? cause I still see empty stf files in the testdata directory: https://github.com/p4lang/p4c/blob/master/testdata/p4_16_samples/action_selector_shared-bmv2.stf

@mihaibudiu
Copy link
Contributor

A month or so. If there is no file we use empty.stf. Maybe we haven't deleted all the empty ones.

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.

3 participants