tests: more options for decoding pcaps 20/40920/4
authorKlement Sekera <[email protected]>
Thu, 23 May 2024 09:19:51 +0000 (11:19 +0200)
committerDave Wallace <[email protected]>
Mon, 15 Jul 2024 18:58:07 +0000 (18:58 +0000)
commitca2f2e1ec9131c01b340381f2cbbac2bc5951566
tree6abfb5864197eeed8c4cb54ccd8b7704945e7214
parent9bff049b84c15813dcd70c03895bc627444778bf
tests: more options for decoding pcaps

Introduce "none", "all" and "failed" options for --decode-pcaps
parameter. Keep "failed" as default to be consistent with current
behaviour. Add missing documentation to test/Makefile and passthrough to
Makefile.

Rationale: running tshark binary takes about 100-150ms and if there are
thousands of pcap files, it takes minutes to decode them. This might not
be desirable if rerunning the tests repeatedly during development.

Type: improvement
Change-Id: Ie033521d51d18b9d499b9bc40fe6eff21c94622d
Signed-off-by: Klement Sekera <[email protected]>
Makefile
test/Makefile
test/asf/asfframework.py
test/config.py