test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts]  [PATCH V1 1/3] update fortville NIC test case list
@ 2015-06-05  5:50 huilong,xu
  2015-06-05  5:50 ` [dts] [PATCH V1 2/3] add unit " huilong,xu
  2015-06-05  5:50 ` [dts] [PATCH V1 3/3] update get_intf_name function huilong,xu
  0 siblings, 2 replies; 3+ messages in thread
From: huilong,xu @ 2015-06-05  5:50 UTC (permalink / raw)
  To: dts

From: huilong xu <huilongx.xu@intel.com>


Signed-off-by: huilong xu <huilongx.xu@intel.com>
---
 executions/execution_FVL.cfg |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/executions/execution_FVL.cfg b/executions/execution_FVL.cfg
index 600c693..98f5874 100644
--- a/executions/execution_FVL.cfg
+++ b/executions/execution_FVL.cfg
@@ -9,7 +9,15 @@ test_suites=
     vlan,
     shutdown_api,
     queue_start_stop,
-    fdir
+    fdir,
+    pmd,
+    ipfrag,
+    jumboframes,
+    pmdrssreta,
+    pmdrss_hash,
+    pmd_bonded,
+    ipv4_reassembly,
+    scatter    
 targets=
     x86_64-native-linuxapp-gcc
 parameters=nic_type=cfg:func=true
-- 
1.7.4.4

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

* [dts]  [PATCH V1 2/3] add unit test case list
  2015-06-05  5:50 [dts] [PATCH V1 1/3] update fortville NIC test case list huilong,xu
@ 2015-06-05  5:50 ` huilong,xu
  2015-06-05  5:50 ` [dts] [PATCH V1 3/3] update get_intf_name function huilong,xu
  1 sibling, 0 replies; 3+ messages in thread
From: huilong,xu @ 2015-06-05  5:50 UTC (permalink / raw)
  To: dts

From: huilong xu <huilongx.xu@intel.com>


Signed-off-by: huilong xu <huilongx.xu@intel.com>
---
 executions/execution_unit_test.cfg |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 executions/execution_unit_test.cfg

diff --git a/executions/execution_unit_test.cfg b/executions/execution_unit_test.cfg
new file mode 100644
index 0000000..c6b4cc1
--- /dev/null
+++ b/executions/execution_unit_test.cfg
@@ -0,0 +1,32 @@
+[Execution1]
+crbs=<CRB IP Address>
+drivername=<driver name igb_uio or vfio-pci>
+test_suites=
+    unit_tests_cmdline,
+    unit_tests_dump,
+    unit_tests_eal,
+    unit_tests_ivshmem,
+    unit_tests_kni,
+    unit_tests_lpm,
+    unit_tests_mbuf,
+    unit_tests_mempool,
+    unit_tests_pmd_perf,
+    unit_tests_power,
+    unit_tests_qos,
+    unit_tests_ringpmd,
+    unit_tests_ring,
+    unit_tests_timer
+targets=
+    x86_64-native-linuxapp-gcc
+parameters=nic_type=cfg:func=true
+
+[Execution2]
+crbs=<Performance CRB IP Address>
+drivername=<driver name igb_uio or vfio-pci>
+test_suites=
+    l2fwd,
+    l3fwd,
+    pmd
+targets=
+    x86_64-native-linuxapp-gcc
+parameters=nic_type=niantic:perf=true
-- 
1.7.4.4

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

* [dts]  [PATCH V1 3/3] update get_intf_name function
  2015-06-05  5:50 [dts] [PATCH V1 1/3] update fortville NIC test case list huilong,xu
  2015-06-05  5:50 ` [dts] [PATCH V1 2/3] add unit " huilong,xu
@ 2015-06-05  5:50 ` huilong,xu
  1 sibling, 0 replies; 3+ messages in thread
From: huilong,xu @ 2015-06-05  5:50 UTC (permalink / raw)
  To: dts

From: huilong xu <huilongx.xu@intel.com>

change list:
   1.in linux kernerl 3.13+, i40e kerner driver merger in kernel module.
     the kernerl default driver, one NIC have two intface name,
     so we must get one intface name for test

Signed-off-by: huilong xu <huilongx.xu@intel.com>
---
 framework/net_device.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/framework/net_device.py b/framework/net_device.py
index b8d785e..3b0a8d5 100644
--- a/framework/net_device.py
+++ b/framework/net_device.py
@@ -154,7 +154,10 @@ class NetDevice(object):
         """
         command = 'ls --color=never /sys/bus/pci/devices/0000\:%s\:%s/net' % (
             bus_id, devfun_id)
-        return self.__send_expect(command, '# ')
+        intf_name = self.__send_expect(command, '# ')
+        if " " in intf_name:
+            return intf_name.split(" ")[0]
+        return intf_name
 
     def get_interface_name_freebsd(self, bus_id, devfun_id, driver):
         """
-- 
1.7.4.4

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

end of thread, other threads:[~2015-06-05  5:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-05  5:50 [dts] [PATCH V1 1/3] update fortville NIC test case list huilong,xu
2015-06-05  5:50 ` [dts] [PATCH V1 2/3] add unit " huilong,xu
2015-06-05  5:50 ` [dts] [PATCH V1 3/3] update get_intf_name function huilong,xu

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