Skip to content
Snippets Groups Projects
Commit ff2418e9 authored by Luis Araujo's avatar Luis Araujo
Browse files

Add a counter to show total of test cases processed


Signed-off-by: default avatarLuis Araujo <luis.araujo@collabora.co.uk>
parent 39d2a21e
No related branches found
No related tags found
No related merge requests found
......@@ -177,11 +177,14 @@ if '__main__' == __name__:
if os.path.isfile(args.yaml_files):
generate_test_case(args.yaml_files, directory)
else:
c = 0
for root, _, files in os.walk(args.yaml_files):
for f in files:
tc_file = os.path.join(root, f)
if os.path.isfile(tc_file):
generate_test_case(tc_file, directory)
c += 1
print("Total of test cases processed:", c)
cssdir = os.path.join(directory, 'css')
if not (os.path.exists(cssdir) and os.path.isdir(cssdir)):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment