summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/buildperf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/buildperf')
-rw-r--r--meta/lib/oeqa/buildperf/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index 7dfb2bff37..9700c05925 100644
--- a/meta/lib/oeqa/buildperf/base.py
+++ b/meta/lib/oeqa/buildperf/base.py
@@ -466,7 +466,7 @@ class BuildPerfTestCase(unittest.TestCase):
466 return bs_json 466 return bs_json
467 467
468 log.info('Saving buildstats in JSON format') 468 log.info('Saving buildstats in JSON format')
469 bs_dirs = os.listdir(self.bb_vars['BUILDSTATS_BASE']) 469 bs_dirs = sorted(os.listdir(self.bb_vars['BUILDSTATS_BASE']))
470 if len(bs_dirs) > 1: 470 if len(bs_dirs) > 1:
471 log.warning("Multiple buildstats found for test %s, only " 471 log.warning("Multiple buildstats found for test %s, only "
472 "archiving the last one", self.name) 472 "archiving the last one", self.name)