app/test: fix build switches to enable cmdline tests
authorThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 27 Jun 2014 09:21:11 +0000 (11:21 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 1 Jul 2014 14:25:36 +0000 (16:25 +0200)
commitcf953d2bfa7df9aa67459b333db4d4d8a9e72fd6
tree8d529dfafb8b65b19c023491436e30a365a6ec97
parente0b7ca0c0383411a5cb22af6ccae41d24ace55ae
app/test: fix build switches to enable cmdline tests

There were 2 typos since these commits (in 1.6.0 releases):
21a7f4e264 fix build without librte_cmdline
cac6d08c8b replace --use-device option by --pci-whitelist and --vdev
In makefiles, the build options are prefixed with CONFIG_RTE_
but in .c file, it is only RTE_.

These typos were disabling cmdline unit tests and test of "--vdev eth_ring" option.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test/test_cmdline.c
app/test/test_eal_flags.c