mbox series

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

Message ID 20210317071625.13041-1-haiyangx.zhao@intel.com (mailing list archive)
Headers
Series framework: add a proposal of recognizing pkgs |

Message

Zhao, HaiyangX March 17, 2021, 7:16 a.m. UTC
  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(-)
  

Comments

Zhao, HaiyangX March 17, 2021, 7:30 a.m. UTC | #1
> -----Original Message-----
> From: Zhao, HaiyangX <haiyangx.zhao@intel.com>
> Sent: Wednesday, March 17, 2021 15:16
> To: dts@dpdk.org
> Cc: Tu, Lijuan <lijuan.tu@intel.com>; Zhao, HaiyangX
> <haiyangx.zhao@intel.com>
> Subject: [dts][PATCH V1 0/5] framework: add a proposal of recognizing pkgs
> 
> 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.

Tested-by: Haiyang Zhao <haiyangx.zhao@intel.com>