summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexis Lothoré <alexis.lothore@bootlin.com>2023-08-02 16:17:18 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-04 11:44:25 +0100
commitb5f6da6e13f3484f51dfa07f6b3500aea7a21825 (patch)
treeaf73738a7d9c542c98808c6d547f42b83bf2b75a /scripts
parent9d22bfc9d0c4092dba1af0ee11a4c51b7b270786 (diff)
downloadopenembedded-core-b5f6da6e13f3484f51dfa07f6b3500aea7a21825.tar.gz
scripts/resulttool: define custom string for "not found" test results
Whenever a test result is present in base test result but absent from target test results, we have an entry in regression report looking like the following one: ptestresult.apr.testfile: PASSED -> None The "None" status may be a bit confusing, so replace it with a custom string which really states what "None" means in this context: ptestresult.apr.testfile: PASSED -> No matching test result Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/resulttool/regression.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/resulttool/regression.py b/scripts/lib/resulttool/regression.py
index 3a23d7fc0a..3d64b8f4af 100644
--- a/scripts/lib/resulttool/regression.py
+++ b/scripts/lib/resulttool/regression.py
@@ -75,6 +75,7 @@ OESELFTEST_METADATA_GUESS_TABLE={
}
STATUS_STRINGS = {
+ "None": "No matching test result"
}
def test_has_at_least_one_matching_tag(test, tag_list):