test cleant up report folder

This commit is contained in:
Gabor Kiss-Vamosi
2021-06-18 14:15:53 +02:00
parent e35b1d04bd
commit b9b4ba5b26
2 changed files with 4 additions and 1 deletions

3
tests/.gitignore vendored
View File

@@ -1,2 +1,3 @@
*.out
*_Runner.c
*_Runner.c
/report

View File

@@ -44,6 +44,8 @@ if test_report:
print("")
print("Generating report")
print("-----------------------")
os.system("rm -r report")
os.system("mkdir report")
os.system("gcovr -r ../ --html-details -o report/index.html --exclude-directories '\.\./examples' --exclude-directories 'src/.*' --exclude-directories 'unity' --exclude 'lv_test_.*\.c'")
print("Done: See report/index.html")