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>
This commit is contained in:
Alexis Lothoré 2023-08-02 16:17:18 +02:00 committed by Richard Purdie
parent 6de3817c62
commit 572d820da9

View 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):