numam-dpdk/app
Jan Viktorin fe6923cbfd app/test: introduce resources for tests
Certain internal mechanisms of DPDK access different file system
structures (e.g. /sys/bus/pci/devices). It is difficult to test
those cases automatically by a unit test when such path is not
hard-coded and there is no simple way how to distribute fake ones
with the current testing environment.

This patch adds a possibility to declare a resource embedded in
the test binary itself. The structure resource cover the generic
situation - it provides a name for lookup and pointers to the
embedded data blob. A resource is registered in a constructor by
the macro REGISTER_RESOURCE.

Some initial tests of simple resources is included and added into
the group_1.

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
2016-06-13 20:56:42 +02:00
..
cmdline_test app/cmdline_test: add missing dependencies 2015-12-03 00:02:26 +01:00
proc_info examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
test app/test: introduce resources for tests 2016-06-13 20:56:42 +02:00
test-acl acl: fix division by float zero in test app 2016-04-27 17:41:46 +02:00
test-pipeline ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
test-pmd log: deprecate history dump 2016-06-10 15:08:57 +02:00
Makefile config: remove EAL flags for OS environment 2016-03-05 11:09:31 +01:00