test: take test names from command line
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 27 Jan 2021 17:42:55 +0000 (17:42 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 14 Apr 2021 13:14:56 +0000 (15:14 +0200)
commitace2f054ed43f249514c9ac50da67acf3e834d97
tree9cfd0d4d31655fad86a9e2b1f72db3a85e690320
parent206c562e4b4f03424d7c1e076a59a031ede1c6f1
test: take test names from command line

While having the ability to run a test based off the DPDK_TEST
environment variable is useful, it's sometimes more convenient to
specify the test name as a commandline parameter to a test binary.
This patch adds support for checking all parameters after the EAL ones, and
running all valid autotests requested - either from DPDK_TEST or on the
commandline. This also allows multiple tests to be run in a single
automated session, which is useful for working with components which have
multiple test suites.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Aaron Conole <aconole@redhat.com>
app/test/commands.c
app/test/test.c
app/test/test.h