Commit d56fa37f authored by Jeff Booher-Kaeding's avatar Jeff Booher-Kaeding
Browse files

Merge branch 'updates-from-grant' into 'main'

Usability updates

See merge request !1
parents 06eb8813 023d030c
# SCT_Parser
# EDK2 SCT Results Parser
This is an external parser script for [UEFI SCT]. (WIP)
......@@ -9,6 +9,19 @@ It will proceed to generate a Markdown file listing number of failures, passes,
## Quick Start
If you're using this tool to analyze EBBR test results, use the following
command. The parsed report can be found in ``.
``` {.sh}
$ ./ --config EBBR.yaml \
</path/to/sct_results/Overall/Summary.ekl> \
INFO apply_rules: Updated 200 test(s) out of 12206 after applying 124 rule(s)
INFO main: 0 dropped(s), 1 failure(s), 93 ignored(s), 106 known u-boot limitation(s), 12006 pass(s), 0 warning(s)
## Usage
Usage to generate a "result md" is such. `python3 <log_file.ekl> <seq_file.seq>`
If you do no provided any command line arguments it will use `sample.ekl` and `sample.seq`.
......@@ -578,7 +578,7 @@ def combine_dbs(db1, db2):
return cross_check
def main():
if __name__ == '__main__':
parser = argparse.ArgumentParser(
description='Process SCT results.'
' This program takes the SCT summary and sequence files,'
......@@ -604,12 +604,8 @@ def main():
'--uniq', action='store_true', help='Collapse duplicates')
'--print', action='store_true', help='Print results to stdout')
'log_file', nargs='?', default='sample.ekl',
help='Input .ekl filename')
'seq_file', nargs='?', default='sample.seq',
help='Input .seq filename')
parser.add_argument('log_file', help='Input .ekl filename')
parser.add_argument('seq_file', help='Input .seq filename')
parser.add_argument('find_key', nargs='?', help='Search key')
parser.add_argument('find_value', nargs='?', help='Search value')
......@@ -751,6 +747,3 @@ def main():
x["guid"], ":", x["name"], "with", args.find_key, ":",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment