[V2] tests/perf_test_bas_basee: remove duplicate cores

Message ID 20220526015953.3702986-1-yingyax.han@intel.com (mailing list archive)
State Superseded
Headers
Series [V2] tests/perf_test_bas_basee: remove duplicate cores |

Checks

Context Check Description
ci/Intel-dts-suite-test warning SKIPPED

Commit Message

Yingya Han May 26, 2022, 1:59 a.m. UTC
Signed-off-by: Yingya Han <yingyax.han@intel.com>
---
 tests/perf_test_base.py | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/tests/perf_test_base.py b/tests/perf_test_base.py
index d60572e0..c108a228 100644
--- a/tests/perf_test_base.py
+++ b/tests/perf_test_base.py
@@ -1362,6 +1362,7 @@  class PerfTestBase(object):
                 # ignore first 2 cores
                 _corelist = (corelist * (total // len(corelist) + 1))[:total]
                 [grp[index].append(core) for index, core in enumerate(_corelist)]
+                _corelist = list(set(_corelist))
                 [
                     configs.append(
                         [