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

Create tests #26

Open
tatry opened this issue Mar 21, 2022 · 0 comments
Open

Create tests #26

tatry opened this issue Mar 21, 2022 · 0 comments
Labels

Comments

@tatry
Copy link
Collaborator

tatry commented Mar 21, 2022

Invent and create method to test code.

Ideas (discussion needed):

  • C linter (clang-format, clang-tidy, etc.)
  • Adopt PTF-ebpf tests from p4c.
  • Framework for validation input & output (stdin, stdout, stderr, cmd arguments, map values, etc.).
  • Use Valgrind for detect memory leaks and other related bugs. Installation from source might be required due to support for bpf syscall (version 3.18 is possible to work).
@osinstom osinstom added the High label Jun 3, 2022
@tatry tatry mentioned this issue Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants