Commit acc3e5ca authored by Alexander Lercher's avatar Alexander Lercher

Merge remote-tracking branch 'origin/support/code-coverage' into support/code-coverage

parents eaea04bc 70bff442
......@@ -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