summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autowaf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/autowaf.py b/autowaf.py
index a7b18c0..7052a0f 100644
--- a/autowaf.py
+++ b/autowaf.py
@@ -451,6 +451,8 @@ def post_test(ctx, appname, dirs=['./src']):
subprocess.call('genhtml -o coverage coverage-stripped.lcov'.split(),
stdout=coverage_log, stderr=coverage_log)
+ except:
+ Logs.warn('Failed to run lcov, no coverage report will be generated')
finally:
coverage_stripped_lcov.close()
coverage_lcov.close()