Go to file
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
app app/testpmd: set default RSS key as null 2018-11-05 15:01:25 +01:00
buildtools buildtools: fix build for some mktemp 2018-10-27 15:30:25 +02:00
config vfio: disable in FreeBSD build with meson 2018-10-27 17:57:55 +02:00
devtools devtools: add explicit warnings for forbidden tokens 2018-11-04 21:54:04 +01:00
doc test: allow taking extra arguments from environment 2018-11-06 03:20:26 +01:00
drivers bus/pci: fix config r/w access 2018-11-06 02:11:25 +01:00
examples examples/flow_filtering: remove VLAN item 2018-11-06 02:35:39 +01:00
kernel kni: fix build on Linux < 3.14 2018-10-27 00:18:06 +02:00
lib ip_frag: use key length for key comparison 2018-11-06 01:58:11 +01:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk mk: disable gcc AVX512F support 2018-11-04 21:55:17 +01:00
pkg version: 18.08.0 2018-08-09 23:11:26 +02:00
test test: allow taking extra arguments from environment 2018-11-06 03:20:26 +01:00
usertools usertools: add client script for telemetry 2018-10-27 15:21:38 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add compression driver and ISA-L PMD guides 2018-05-10 17:46:20 +01:00
GNUmakefile move kernel modules directories 2018-03-21 23:04:21 +01:00
MAINTAINERS examples/fips_validation: add crypto FIPS application 2018-11-02 12:26:06 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt build: add option to override drivers install directory 2018-10-27 23:22:21 +02:00
meson.build version: 18.11-rc1 2018-10-29 04:08:26 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org