test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V2]tests/perf_test_bas_basee: remove duplicate cores
@ 2022-05-26  1:59 Yingya Han
  0 siblings, 0 replies; only message in thread
From: Yingya Han @ 2022-05-26  1:59 UTC (permalink / raw)
  To: dts; +Cc: Yingya Han

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

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(
                         [
-- 
2.25.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-26  1:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-26  1:59 [dts][PATCH V2]tests/perf_test_bas_basee: remove duplicate cores Yingya Han

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