summaryrefslogtreecommitdiffstats
path: root/scripts/lib
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:28 +0100
commit572d820da9a8857aec6075afe2de4ec478856633 (patch)
treed347adf8f580d73f2b8b8bbfa7354f2c7a7db2ba /scripts/lib
parent6de3817c62d896545fc460b1b265a0f6b35dbd3e (diff)
downloadpoky-572d820da9a8857aec6075afe2de4ec478856633.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 (From OE-Core rev: b5f6da6e13f3484f51dfa07f6b3500aea7a21825) 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/lib')
-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={
75} 75}
76 76
77STATUS_STRINGS = { 77STATUS_STRINGS = {
78 "None": "No matching test result"
78} 79}
79 80
80def test_has_at_least_one_matching_tag(test, tag_list): 81def test_has_at_least_one_matching_tag(test, tag_list):