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

Fuzzer for bmv2 #39

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Fuzzer for bmv2 #39

wants to merge 2 commits into from

Conversation

vvbae
Copy link
Collaborator

@vvbae vvbae commented Feb 1, 2025

No description provided.

endif()

# Find p4c (for JSON generation)
find_program(P4C_EXECUTABLE p4c)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is the wrong way to do this, this is why the current tests fail. You directly access the P4C binary in the script, you shouldn't need to use find_program.

@@ -4,6 +4,17 @@ if(ENABLE_TESTING)
include(test/P4Tests.cmake)
endif()

find_program(RTSMITH_DRIVER p4rtsmith)
Copy link
Collaborator

Choose a reason for hiding this comment

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

We already set this binary with a variable, you just need to use that variable. Do not use find_program

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.

2 participants