gitlab.arm.com will be in the maintainance mode on Wednesday June 29th 01:00 - 10:00 (UTC+1). Repositories is read only during the maintainance.

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

updated readme, moved to lowercase name for parser.py

parent bc9a6919
......@@ -153,7 +153,7 @@ def main():
#Command line argument 2, seq file to open, else open sample
seq_file = sys.argv[2] if len(sys.argv) >= 3 else "Sample.seq"
db2 = {} #"database 2" all test sets that should run
db2 = dict() #"database 2" all test sets that should run
with open(seq_file,"r",encoding="utf-16") as f: #files are encoded in utf-16
db2 = seq_parser(f)
......@@ -191,7 +191,7 @@ def main():
resultfile.write("## 4. Failure by group")
resultfile.write("\n\n")
key_tree_2_md(failures,resultfile,"group")
print(len(failures))
resultfile.write("## 3. Warnings by group")
resultfile.write("\n\n")
......
# SCT_Parser
---
This is an external Parser script for UEFI SCT. (Arm ACS test suite WIP)
This is an external Parser script for UEFI SCT. (WIP)
It's designed to read a `.ekl` results log (default is `sample.ekl`), and a generated `.seq` (default is `sample.seq`) from UEFI SCT configurator.
It's designed to read a `.ekl` results log from an UEFI SCT run, and a generated `.seq` from UEFI SCT configurator.
It will proceed to generate a CSV listing fails, passes, and each test set that was Silent dropped, and a list of all failed and warnings.
It will proceed to generate a Markdown file listing number of failures, passes, each test from the sequence file set that was Silently dropped, and a list of all failures and warnings.
## Command line arguments (WIP)
## Usage
Usage to generate a "result md" is such. `python3 parser.py <log_file.ekl> <seq_file.seq>`
If you do no provided any command line arguments it will use `sample.ekl` and `sample.seq`.
### Different File:
if you choose to, you can pass command like arguments like so `python3 Parser.py <file.ekl> <file.seq>` This will provide a different `.ekl` log to search (such as `summary.ekl`), and a different `.seq` file, (such as `seq.seq`)
### Custom search
### Custom search (WIP)
For a custom Key:value search, the next two arguments *MUST be included together.* The program will search and display files that met that constraint, without the crosscheck, and display the names, guid, and key:value to the command line. `python3 Parser.py <file.ekl> <file.seq> <search key> <search value>`
you can use the `test_dict` below to see available keys.
......@@ -25,19 +23,17 @@ you can use the `test_dict` below to see available keys.
## Notes
### Known Issues:
* "comment" is currently not implemented, as formatting is not currently consistent, should reflect the comments from the test.
* some SCT tests have shared GUIDs, Currently using lists to keep tests from squashing each other.
* some lines in ekl file follow Different naming Conventions
* some SCT tests have shared GUIDs,
* some lines in ekl file follow Different naming Conventions
* some tests in the sequence file are not strongly Associated with the test spec.
### TODO:
* double check concatenation of all `.ekl` logs, preliminary tests show small Divergence between them and `summary.ekl` found in `Overall` folder. Cat.sh will generate this file.
* look into repated GUIDs & non test nots within `.ekl` file
* build functions to help better render markdown.
* look into large number of dropped tests.
### db structure:
......
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