[dpdk-dev] [PATCH v3 01/11] app/test: introduce resources for tests

2016-05-19 Thread Jan Viktorin
I forgot to fix this: Check patch error: 12817: ERROR: space required after that ',' (ctx:VxV) #244: FILE: app/test/resource.h:93: +static void __attribute__((constructor,used)) resinitfn_ ##n(void) ^ total: 1 errors, 0 warnings, 259 lines checked will

[dpdk-dev] [PATCH v3 01/11] app/test: introduce resources for tests

2016-05-17 Thread Jan Viktorin
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. Th