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 4d68b45d authored by Vincent Stehlé's avatar Vincent Stehlé
Browse files

Parser.py: fix sample filenames case



This repairs the run with default sample filenames on Linux.
Signed-off-by: Vincent Stehlé's avatarVincent Stehlé <vincent.stehle@arm.com>
parent b965d461
......@@ -146,13 +146,13 @@ def dict_2_md(input_list,file):
def main():
#Command line argument 1, ekl file to open, else open sample
log_file = sys.argv[1] if len(sys.argv) >= 2 else "Sample.ekl"
log_file = sys.argv[1] if len(sys.argv) >= 2 else "sample.ekl"
db1 = list() #"database 1" all tests.
with open(log_file,"r",encoding="utf-16") as f: #files are encoded in utf-16
db1 = ekl_parser(f.readlines())
#Command line argument 2, seq file to open, else open sample
seq_file = sys.argv[2] if len(sys.argv) >= 3 else "Sample.seq"
seq_file = sys.argv[2] if len(sys.argv) >= 3 else "sample.seq"
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)
......
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