numam-dpdk/app
David Marchand 1752b08781 test: rely on EAL detection for core list
Cores count has a direct impact on the time needed to complete unit
tests.

Currently, the core list used for unit test is enforced to "all cores on
the system" with no way for (CI) users to adapt it.
On the other hand, EAL default behavior (when no -c/-l option gets passed)
is to start threads on as many cores available in the process cpu
affinity.

Remove logic from meson: users can then select where to run the tests by
either running meson with a custom cpu affinity (using taskset/cpuset
depending on OS) or by passing a --test-args option to meson.

Example:
$ sudo meson test -C build --suite fast-tests -t 3 --test-args "-l 0-3"

Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Aaron Conole <aconole@redhat.com>
2021-10-21 17:48:04 +02:00
..
pdump net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
proc-info mempool: add namespace to flags 2021-10-20 10:00:16 +02:00
test test: rely on EAL detection for core list 2021-10-21 17:48:04 +02:00
test-acl app/acl: add script to automate testing 2021-07-30 18:34:35 +02:00
test-bbdev app/bbdev: handle endianness of test data 2021-10-18 20:12:15 +02:00
test-cmdline app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-compress-perf app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-crypto-perf app/crypto-perf: support lookaside IPsec 2021-10-18 20:12:19 +02:00
test-eventdev ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
test-fib app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-flow-perf ethdev: negotiate delivery of packet metadata from HW to PMD 2021-10-13 00:47:42 +02:00
test-pipeline app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-pmd app/testpmd: add flex item commands 2021-10-20 19:00:26 +02:00
test-regex app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-sad app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
meson.build app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00