test suite reviews and discussions
 help / color / mirror / Atom feed
From: Haiyang Zhao <haiyangx.zhao@intel.com>
To: dts@dpdk.org
Cc: lijuan.tu@intel.com, Haiyang Zhao <haiyangx.zhao@intel.com>
Subject: [dts] [PATCH V1 4/6] framework/dts: add more nic configurations in result
Date: Mon, 22 Mar 2021 10:46:14 +0800	[thread overview]
Message-ID: <20210322024616.14499-5-haiyangx.zhao@intel.com> (raw)
In-Reply-To: <20210322024616.14499-1-haiyangx.zhao@intel.com>

add nic driver/firmware/package version in result.

Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
 framework/dts.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/framework/dts.py b/framework/dts.py
index d4a8c6e9..6f621a51 100644
--- a/framework/dts.py
+++ b/framework/dts.py
@@ -624,6 +624,10 @@ def run_all(config_file, pkgName, git, patch, skip_setup,
         if dts_run_prerequisties(duts, tester, pkgName, patch, dts_commands, serializer) is False:
             dts_crbs_exit(duts, tester)
             continue
+        result.kdriver = duts[0].nic.default_driver + '-' + duts[0].nic.driver_version
+        result.firmware = duts[0].nic.firmware
+        result.package = duts[0].nic.pkg['type'] + ' ' + duts[0].nic.pkg['version'] if duts[0].nic.pkg else None
+        result.driver = settings.load_global_setting(settings.HOST_DRIVER_SETTING)
         result.dpdk_version = duts[0].dpdk_version
         dts_run_target(duts, tester, targets, test_suites, subtitle)
 
-- 
2.17.1


  parent reply	other threads:[~2021-03-22  2:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-22  2:46 [dts] [PATCH V1 0/6] framework: add dirver/firmware/pkg " Haiyang Zhao
2021-03-22  2:46 ` [dts] [PATCH V1 1/6] nics/net_device: add driver/firmware Haiyang Zhao
2021-03-22  2:46 ` [dts] [PATCH V1 2/6] framework/dut: get nic driver/firmware info Haiyang Zhao
2021-03-22  2:46 ` [dts] [PATCH V1 3/6] framework/test_result: add driver/firmware/package Haiyang Zhao
2021-03-22  2:46 ` Haiyang Zhao [this message]
2021-03-22  2:46 ` [dts] [PATCH V1 5/6] framework/excel_reporter: add driver/firmware/pkg Haiyang Zhao
2021-03-22  2:46 ` [dts] [PATCH V1 6/6] framework/json_reporter: " Haiyang Zhao
2021-03-22  2:58 ` [dts] [PATCH V1 0/6] framework: add dirver/firmware/pkg in result Zhao, HaiyangX
2021-03-25  5:48   ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210322024616.14499-5-haiyangx.zhao@intel.com \
    --to=haiyangx.zhao@intel.com \
    --cc=dts@dpdk.org \
    --cc=lijuan.tu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).