Commit b87fc012 authored by Alexander Lercher's avatar Alexander Lercher

Merge branch 'support/code-coverage' into develop

parents 714b4b1e acc3e5ca
......@@ -56,9 +56,10 @@ for (dirname, dirs, files) in os.walk(ROOT):
#cur_dir = os.path(dirname).parent()
os.chdir(cur_dir)
print(f"Executing coverage test in {cur_dir}")
exit_val = os.system(f"coverage run --append --omit=*/site-packages* -m unittest discover")
coverage_paths_set.add(os.path.normpath(cur_dir))
resultCodeList.append(exit_val)
except Exception as e:
print(e)
continue
......
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