[dts] [PATCH V1 0/5] framework: add a proposal of recognizing pkgs

Haiyang Zhao haiyangx.zhao at intel.com
Wed Mar 17 08:16:20 CET 2021


Now there are os default/comms/wireless pkgs for CVL NIC,
and they support different protocals. Some suite like l2tp_esp_coverage
are partly support these pkgs, we replace the pkg in suite to support the
case in the past, but this may occur exception and the result may not be we want,
so we provide a new proposal by adding a decorate above test case to check if 
the pkg support current case, and do not replace pkg in suite. 

This patch set is the proposal of framework modification.


Haiyang Zhao (5):
  framework/exception: add new exception VerifySkip
  framework/test_case: handle the VerifySkip exception and add some
    functions
  nics/net_device: add attribute pkg and get method
  framework/dut: get nic package in dut prerequisites
  tests: add nic and pkg check for rss_gtpu

 framework/dut.py                              |  23 +++-
 framework/exception.py                        |  13 +++
 framework/test_case.py                        | 102 +++++++++++++++---
 nics/net_device.py                            |  13 ++-
 tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py |   5 +-
 tests/TestSuite_cvl_advanced_rss_gtpu.py      |   5 +-
 6 files changed, 143 insertions(+), 18 deletions(-)

-- 
2.17.1



More information about the dts mailing list