[V1] tests/crypto_perf_cryptodev_perf: adapt lscpu info

Message ID 20230116022409.667254-1-yux.jiang@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/crypto_perf_cryptodev_perf: adapt lscpu info |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test warning SKIPPED

Commit Message

Yu Jiang Jan. 16, 2023, 2:24 a.m. UTC
  adapt lscpu info

Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
 tests/TestSuite_crypto_perf_cryptodev_perf.py | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

Tu, Lijuan Jan. 29, 2023, 1:47 a.m. UTC | #1
On Mon, 16 Jan 2023 10:24:09 +0800, Yu Jiang <yux.jiang@intel.com> wrote:
> adapt lscpu info
> 
> Signed-off-by: Yu Jiang <yux.jiang@intel.com>


Applied, thanks
  

Patch

diff --git a/tests/TestSuite_crypto_perf_cryptodev_perf.py b/tests/TestSuite_crypto_perf_cryptodev_perf.py
index 9270b52d..91b8048a 100644
--- a/tests/TestSuite_crypto_perf_cryptodev_perf.py
+++ b/tests/TestSuite_crypto_perf_cryptodev_perf.py
@@ -327,6 +327,8 @@  class PerfTestsCryptodev(TestCase):
         for each_line in out.split("\n"):
             if each_line.find(":") == -1:
                 continue
+            elif "Vulnerability" in each_line:
+                continue
             key, value = each_line.split(":")
             cpu_info[key] = value.strip()
         core, thread = 0, 0