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

packetdrill: run_all: add --tap <DIR> option #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matttbe
Copy link
Contributor

@matttbe matttbe commented Mar 22, 2024

This new option will generate simple TAP files in the given directory, for each path managed by packetdrill: the given one, except if -s is passed.

The TAP files will be named packetdrill_<basename>.tap, where <basename> is the path of the given directory (or subdirectory with -s), or the filename without the extension if a path has been given.

This is particularly useful because the TAP format is used by other test frameworks linked to the kernel: kselftests, kunit, etc. So a CI can easily parse these files to display results in a board, and track regressions per test.

This new option will generate simple TAP files in the given directory,
for each path managed by packetdrill: the given one, except if -s is
passed.

This is particularly useful because the TAP format is used by other test
frameworks linked to the kernel: kselftests, kunit, etc. So a CI can
easily parse these files to display results in a board, and track
regressions per test.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
Copy link
Contributor

@wdebruij wdebruij left a comment

Choose a reason for hiding this comment

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

Thanks Matthieu. Very useful feature! As you point out, this allows integration of packetdrill results with test frameworks like kselftests.

@wdebruij
Copy link
Contributor

@nealcardwell reminder that this was reviewed and is waiting for your review and optionally to be pulled.

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