[From nobody Mon Sep 16 10:36:04 2019
Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by
 SHSMSX154.ccr.corp.intel.com (10.239.6.54) with Microsoft SMTP Server (TLS)
 id 14.3.439.0; Fri, 6 Sep 2019 17:49:00 +0800
Received: from fmsmsx108.amr.corp.intel.com (10.18.124.206) by
 SHSMSX103.ccr.corp.intel.com (10.239.4.69) with Microsoft SMTP Server (TLS)
 id 14.3.439.0; Fri, 6 Sep 2019 17:49:00 +0800
Received: from fmsmga001.fm.intel.com (10.253.24.23) by
 FMSMSX108.amr.corp.intel.com (10.18.124.215) with Microsoft SMTP Server (TLS)
 id 14.3.439.0; Fri, 6 Sep 2019 02:48:58 -0700
Received: from unknown (HELO dpdk-wenjielx-KVM193.icx.intel.com)
 ([10.240.176.193])  by fmsmga001.fm.intel.com with ESMTP; 06 Sep 2019
 02:48:57 -0700
From: &quot;Li, WenjieX A&quot; &lt;wenjiex.a.li@intel.com&gt;
To: &quot;dts@dpdk.org&quot; &lt;dts@dpdk.org&gt;
CC: &quot;Li, WenjieX A&quot; &lt;wenjiex.a.li@intel.com&gt;
Subject: [dts][PATCH V1] tests/ipgre: optimize script
Thread-Topic: [dts][PATCH V1] tests/ipgre: optimize script
Thread-Index: AQHVZJhPbRuVI0a/tkyAbLXJEe9+yw==
Date: Fri, 6 Sep 2019 18:42:30 +0000
Message-ID: &lt;1567795350-70617-1-git-send-email-wenjiex.a.li@intel.com&gt;
Content-Language: zh-CN
X-MS-Exchange-Organization-AuthMechanism: 10
X-MS-Exchange-Organization-AuthSource: FMSMSX108.amr.corp.intel.com
X-MS-Has-Attach: 
X-Message-Flag: Follow up
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

1. could support cvl nic, add cvl to nic list
2. move dut.kill_all from tear_down_all to tear_down, since testpmd will
be started in every case, if one case is failed, the testpmd is still
runnning, this will affect the following cases.

Signed-off-by: Wenjie Li &lt;wenjiex.a.li@intel.com&gt;
---
 tests/TestSuite_ipgre.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py
index 7fbddf1..e10b0e0 100644
--- a/tests/TestSuite_ipgre.py
+++ b/tests/TestSuite_ipgre.py
@@ -63,7 +63,7 @@ class TestIpgre(TestCase):
         &quot;&quot;&quot;
         self.printFlag =3D self._enable_debug
         ports =3D self.dut.get_ports()
-        self.verify(self.nic in [&quot;fortville_eagle&quot;, &quot;fortville_spirit&quot;, &quot;f=
ortville_spirit_single&quot;, &quot;fortville_25g&quot;, &quot;carlsville&quot;],
+        self.verify(self.nic in [&quot;fortville_eagle&quot;, &quot;fortville_spirit&quot;, &quot;f=
ortville_spirit_single&quot;, &quot;fortville_25g&quot;, &quot;carlsville&quot;, &quot;columbiaville_25g&quot;=
, &quot;columbiaville_100g&quot;],
                     &quot;GRE tunnel packet type only support by fortville and =
carlsville&quot;)
         self.verify(len(ports) &gt;=3D 1, &quot;Insufficient ports for testing&quot;)
         valports =3D [_ for _ in ports if self.tester.get_local_port(_) !=
=3D -1]
@@ -439,12 +439,11 @@ class TestIpgre(TestCase):
         Run after each test case.
         Nothing to do.
         &quot;&quot;&quot;
-        pass
+        self.dut.kill_all()

     def tear_down_all(self):
         &quot;&quot;&quot;
         Run after each test suite.
         Nothing to do.
         &quot;&quot;&quot;
-        self.dut.kill_all()
         pass
--
2.17.1

]