]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
scripts/resulttool: define custom string for "not found" test results
authorAlexis Lothoré <alexis.lothore@bootlin.com>
Wed, 2 Aug 2023 14:17:18 +0000 (16:17 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Aug 2023 10:44:25 +0000 (11:44 +0100)
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>
scripts/lib/resulttool/regression.py

index 3a23d7fc0a0e32963d8aeb7f13d89ff17999b499..3d64b8f4af7c7546402f210c5c99548815c05e64 100644 (file)
@@ -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):