Skip to content

Commit

Permalink
Add more results to mapping
Browse files Browse the repository at this point in the history
keys are the result values from
https://tmt.readthedocs.io/en/stable/spec/plans.html#results-format

values are the result values from viewer.html
  • Loading branch information
jpopelka committed Jan 29, 2024
1 parent a8e4fc3 commit 403a2a1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion viewer/generate-result-json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ import json
from collections import defaultdict
from pathlib import Path

RESULTS_MAPPING = {"SKIP": "SKIP", "PASS": "OK", "WARN": "INFO", "FAIL": "BAD"}
RESULTS_MAPPING = {
"SKIP": "SKIP",
"PASS": "OK",
"INFO": "INFO",
"WARN": "VERIFY",
"FAIL": "BAD",
"ERROR": "BAD",
}

mtps_log_dir = Path(sys.argv[1])

Expand Down

0 comments on commit 403a2a1

Please sign in to comment.