[dts] Correct way of skipping tests

Angela Czubak aczubak at caviumnetworks.com
Fri Mar 31 19:07:49 CEST 2017


I am working on adding support for Cavium NICs in DTS and I have 
stumbled upon several issues. I can see there are two *xls file in conf 
directory. What is the difference between dpdk_support_test_case.xls 
and dpdk_test_case_checklist.xls? I understand that adding a NIC and a 
test case to either make this test case be skipped for the NIC but I do 
not really know which one should be used and when.
Are these spreadsheets meant to be modified manually? I just want to 
know if a binary patch on either of these files is OK or maybe there is 
a better way to add information about which tests should be skipped for 
a particular NIC.
What is more, is there a generic way of skipping some parts of test 
cases? For instance I can see in TestSuite_checksum_offload.py that 
sending out IP/SCTP packets is skipped if the driver is fm10k. It seems 
very specific and adding more checks in that manner to every test case 
seems not to be very flexible. Is there already a structure somewhere 
holding similar type of information, for example that SCTP tx offload is 
not supported for a list of drivers (including fm10k and possibly 
others)? I have not managed to detect this kind of variable and I am 
wondering if there is a reason this kind of setting lacking capabilities 
is missing (and just hardcoded comparisons seem to be used).

Angela Czubak

More information about the dts mailing list