numam-dpdk/doc
Bruce Richardson a5563b85f6 test: allow taking extra arguments from environment
When running unit tests automatically, either via script, from meson,
or otherwise, the same set of options may be used for each run, for
example to set a standard coremask to be used for all tests.

To facilitate this, this patch adds support for the test binary taking
additional EAL parameters from the environment and appending them to the
argc/argv list passed to eal init. This allows parameter modification
without having to edit test scripts etc.

There are now two environment variables which can be used for running
tests:
 * DPDK_TEST - (added previously) passes the test name to be run
               automatically rather than running the app interactively.
               Used by "meson test" when running tests individually or
               as part of a suite.

 * DPDK_TEST_PARAMS - new parameter to specify the commandline arguments
               to use with the test binary. For example to run a test,
               or tests, on only 16 lcores, and to skip pci scan we can
               set this to "-l 0-15 --no-pci".

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Luca Boccassi <bluca@debian.org>
2018-11-06 03:20:26 +01:00
..
api doc: support building HTML guides with meson 2018-10-27 23:24:22 +02:00
guides test: allow taking extra arguments from environment 2018-11-06 03:20:26 +01:00
logo doc: change theme of guides 2015-12-13 22:30:47 +01:00
build-sdk-meson.txt build: generate API documentation with meson 2018-09-18 15:50:54 +02:00
build-sdk-quick.txt doc: add tags and cscope make targets to quick help 2017-08-05 11:04:47 +02:00
meson.build doc: support building HTML guides with meson 2018-10-27 23:24:22 +02:00