[elbe-devel] [PATCH 10/11] elbeproject: Add en_coverage attribute

Olivier Dion dion at linutronix.de
Mon Aug 17 18:20:19 CEST 2020


Coverage is enabled for a project if the file 'en-coverage' is found
under the build directory.

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 elbepack/elbeproject.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
index 5ab86b54..8d9d675a 100644
--- a/elbepack/elbeproject.py
+++ b/elbepack/elbeproject.py
@@ -148,6 +148,8 @@ class ElbeProject (object):
         self.sdkpath = os.path.join(self.builddir, "sdk")
         self.validationpath = os.path.join(self.builddir, "validation.txt")
 
+        self.en_coverage = os.path.exists(os.path.join(self.builddir, "en-coverage"))
+
         self.name = name
         self.override_buildtype = override_buildtype
         self.skip_validate = skip_validate
-- 
2.28.0



More information about the elbe-devel mailing list