test: fix EAL flags autotest on FreeBSD
authorAnatoly Burakov <anatoly.burakov@intel.com>
Mon, 16 Jul 2018 16:34:04 +0000 (17:34 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 26 Jul 2018 19:25:12 +0000 (21:25 +0200)
commitb5d878e6db56c76ffe5e8c69b6c19faac4e97d80
tree79baba4c4924a0927a0d448d376dc0b256816afa
parent73d15621039f130c88c776fb1cfb9eb2644902d1
test: fix EAL flags autotest on FreeBSD

FreeBSD does not support running multiple primary processes
concurrently, because all DPDK instances will allocate memory
from the same place (memory provided by contigmem driver).
While it is technically possible to launch a DPDK process
using no-shconf switch, it will actually corrupt main process'
for the above reason.

Fix EAL flags autotest to not run primary processes unless
both no-shconf and no-huge are specified.

Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Tested-by: Changqing Wu <changqingx.wu@intel.com>
test/test/test_eal_flags.c