raw/skeleton: add test cases
authorShreyansh Jain <shreyansh.jain@nxp.com>
Wed, 31 Jan 2018 09:13:16 +0000 (14:43 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 31 Jan 2018 14:36:30 +0000 (15:36 +0100)
commit55ca1b0f2151bcda099ce0e97321d1fbb48c51bd
tree24ad0f7f911c661a5f3dfcde2dd457dea0d3a770
parent61c592a8d035ac64d8c589bd7d91d3a23eee9587
raw/skeleton: add test cases

Patch introduces rawdev unit testcase for validation against the
Skeleton rawdev dummy PMD implementation.

Test cases are added along with the skeleton driver implementation.
It can be enabled by using vdev argument to any DPDK binary:

  --vdev="rawdev_skeleton,self_test=1"

In case 'self_test=1' is not provided, autotest doesn't execute the
test cases but the vdev is still available for application use.

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/raw/skeleton_rawdev/Makefile
drivers/raw/skeleton_rawdev/skeleton_rawdev.c
drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c [new file with mode: 0644]