[PATCH v5 5/5] dts: add crypto test decorator

Thomas Monjalon thomas at monjalon.net
Thu Mar 12 19:08:17 CET 2026


06/03/2026 17:40, Andrew Bailey:
> Currently, a test case is decorated to signify whether to use Scapy or
> TREX. This change allows test suites that do not use a traffic generator
> to avoid the overhead of initializing either one.
[...]
>                      if (tt.test_type is TestCaseType.FUNCTIONAL and self.func)
>                      or (tt.test_type is TestCaseType.PERFORMANCE and self.perf)
> +                    or (tt.test_type is TestCaseType.CRYPTO and self.crypto)

That's a bit strange to read,
because a crypto test can be functional or performance.
I suppose we can re-discuss the classification of the tests.
If the only need here is about the traffic generator,
we could make it "raw input" or something like that?




More information about the dev mailing list