google / packetdrill

The official Google release of packetdrill
GNU General Public License v2.0
897 stars 221 forks source link

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

Open matttbe opened 6 months ago

matttbe commented 6 months ago

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.

wdebruij commented 1 month ago

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