test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts]  Correct way of skipping tests
@ 2017-03-31 17:07 Angela Czubak
  2017-04-01  8:36 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: Angela Czubak @ 2017-03-31 17:07 UTC (permalink / raw)
  To: dts

Hi,

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).

Regards,
Angela Czubak

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-01  8:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-31 17:07 [dts] Correct way of skipping tests Angela Czubak
2017-04-01  8:36 ` Liu, Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).