test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V3]tests/perf_test_base: remove duplicate cores
@ 2022-05-26  2:08 Yingya Han
  2022-05-28  9:09 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Yingya Han @ 2022-05-26  2:08 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] 2+ messages in thread

end of thread, other threads:[~2022-05-28  9:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-26  2:08 [dts][PATCH V3]tests/perf_test_base: remove duplicate cores Yingya Han
2022-05-28  9:09 ` lijuan.tu

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