numam-dpdk/app
Ciara Power caa817f057 test: refactor unit test suite runner
Some small changes were made to the unit test suite runner for
readability and to enable reuse of some of the function in a later patch.

On test suite setup skip/fail, the loop to count testcases as
skipped/failed has been moved to another function.
This will allow for recursion in a later patch when nested sub-testsuites
are used.

The unit test suite runner accessed the list of testcases in the suite
structure every time the testcase was used. This is now replaced by a
testcase variable which improves readability.

A macro has been introduced for readability, instead of using open
coded loops.

Rather than keep local variable status counts for testcases,
these are added to the test suite structure.

The summary output now prints the suite name, this will be useful later
when multiple nested sub-testsuites are being run.

Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Aaron Conole <aconole@redhat.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
Tested-by: Ruifeng Wang <ruifeng.wang@arm.com>
2021-05-12 16:17:07 +02:00
..
pdump pdump: free mbuf in bulk 2021-01-19 15:24:46 +01:00
proc-info app/procinfo: fix security context info 2021-01-26 14:07:24 +01:00
test test: refactor unit test suite runner 2021-05-12 16:17:07 +02:00
test-acl eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
test-bbdev app/bbdev: fix HARQ error messages 2021-05-05 15:57:59 +02:00
test-cmdline cmdline: avoid name clash with Windows system types 2020-11-05 17:49:00 +01:00
test-compress-perf app: reduce indentation in build files 2021-04-21 14:04:09 +02:00
test-crypto-perf app: reduce indentation in build files 2021-04-21 14:04:09 +02:00
test-eventdev app/eventdev: fix lcore parsing skipping last core 2021-05-09 18:00:18 +02:00
test-fib fix spellings that Lintian complains about 2020-11-04 20:11:31 +01:00
test-flow-perf ethdev: add pre-defined meter policy API 2021-04-21 12:22:17 +02:00
test-pipeline app: reduce indentation in build files 2021-04-21 14:04:09 +02:00
test-pmd app/testpmd: support action meter color 2021-05-12 14:06:27 +02:00
test-regex app/regex: fix usage text 2021-04-09 14:31:41 +02:00
test-sad eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
meson.build app: reduce indentation in build files 2021-04-21 14:04:09 +02:00