numam-dpdk/app/test
Olivier Matz e495f54355 kvargs: add test case in app/test
Add a file app/test/test_kvargs.c that checks the rte_kvargs API.
The test passes:

  RTE>>kvargs
  == test valid case ==
  == test invalid case ==
  PMD: Error parsing device, invalid key <wrong-key>
  Test OK

I also tested that rte_eth_pcap runs with the following arguments:

  ./app/testpmd -c 0x15 -n 3 --proc-type=primary --huge-dir=/mnt/huge \
    --use-device="eth_pcap0;iface=ixgbe0" \
    -- -i --port-topology=chained

  ./app/testpmd -c 0x15 -n 3 --proc-type=primary --huge-dir=/mnt/huge \
    --use-device="eth_pcap0;rx_iface=ixgbe0;rx_iface=ixgbe1;tx_iface=ixgbe0" \
    -- -i --port-topology=chained

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2014-02-26 11:01:14 +01:00
..
autotest_data.py app/test: fixes to python control script 2014-02-26 10:22:33 +01:00
autotest_runner.py update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
autotest_test_funcs.py update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
autotest.py update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
commands.c kvargs: add test case in app/test 2014-02-26 11:01:14 +01:00
Makefile kvargs: add test case in app/test 2014-02-26 11:01:14 +01:00
process.h xen: core library changes 2014-02-25 21:29:19 +01:00
test_acl.c app/test: minor cleanup in test_acl 2014-02-26 10:22:33 +01:00
test_acl.h app/test: minor cleanup in test_acl 2014-02-26 10:22:33 +01:00
test_alarm.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_atomic.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_byteorder.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_cmdline_cirbuf.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_cmdline_etheraddr.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_cmdline_ipaddr.c add FreeBSD support 2014-02-25 21:29:18 +01:00
test_cmdline_lib.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_cmdline_num.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_cmdline_portlist.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_cmdline_string.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_cmdline.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_cmdline.h update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_common.c eal: fix type of pointer arithmetic result 2014-02-26 11:01:13 +01:00
test_cpuflags.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_cycles.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_debug.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_eal_flags.c xen: core library changes 2014-02-25 21:29:19 +01:00
test_eal_fs.c add FreeBSD support 2014-02-25 21:29:18 +01:00
test_errno.c add FreeBSD support 2014-02-25 21:29:18 +01:00
test_func_reentrancy.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_hash_perf.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_hash.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_interrupts.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_ivshmem.c ivshmem: library changes for mmaping using ivshmem 2014-02-25 21:29:19 +01:00
test_kni.c app/test: minor updates 2014-02-26 10:22:33 +01:00
test_kvargs.c kvargs: add test case in app/test 2014-02-26 11:01:14 +01:00
test_logs.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_lpm6_routes.h update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_lpm6.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_lpm_routes.h update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_lpm.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_malloc.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_mbuf.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_memcpy_perf.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_memcpy.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_memory.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_mempool_perf.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_mempool.c xen: core library changes 2014-02-25 21:29:19 +01:00
test_memzone.c mem: add bounded reserve function 2014-02-25 21:29:19 +01:00
test_meter.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_mp_secondary.c add FreeBSD support 2014-02-25 21:29:18 +01:00
test_pci.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_per_lcore.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_pmd_ring.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_power.c app/test: minor updates 2014-02-26 10:22:33 +01:00
test_prefetch.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_red.c app/test: minor updates 2014-02-26 10:22:33 +01:00
test_ring_perf.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_ring.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_rwlock.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_sched.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_spinlock.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_string_fns.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_tailq.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test_timer_perf.c app/test: conditionalize on timer enabled 2014-02-26 10:22:33 +01:00
test_timer.c app/test: conditionalize on timer enabled 2014-02-26 10:22:33 +01:00
test_version.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test.c xen: core library changes 2014-02-25 21:29:19 +01:00
test.h kvargs: add test case in app/test 2014-02-26 11:01:14 +01:00