]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
resulttool: Improve repo layout for oeselftest results
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Nov 2024 16:18:51 +0000 (16:18 +0000)
committerSteve Sakoman <steve@sakoman.com>
Wed, 4 Dec 2024 15:21:02 +0000 (07:21 -0800)
Having all oe-selftest results on top of each other results in a large 640MB
json file which is hard to use. Split the results out per machine and test type.

This also stops the toolchain raw logs from overwriting each other meaning more
than one MACHINE is preserved.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4b890f04bc7d147b4a11b824a84f3d2abd75ac54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
scripts/lib/resulttool/resultutils.py

index 760e426de0c5785dd5391de5a97e05f84ed71500..b8fc79a6acd1fe970c75127ff7c64d12df841a90 100644 (file)
@@ -34,7 +34,7 @@ regression_map = {
     "manual": ['TEST_TYPE', 'TEST_MODULE', 'IMAGE_BASENAME', 'MACHINE']
 }
 store_map = {
-    "oeselftest": ['TEST_TYPE'],
+    "oeselftest": ['TEST_TYPE', 'TESTSERIES', 'MACHINE'],
     "runtime": ['TEST_TYPE', 'DISTRO', 'MACHINE', 'IMAGE_BASENAME'],
     "sdk": ['TEST_TYPE', 'MACHINE', 'SDKMACHINE', 'IMAGE_BASENAME'],
     "sdkext": ['TEST_TYPE', 'MACHINE', 'SDKMACHINE', 'IMAGE_BASENAME'],