[rtems-libbsd commit] build: Make it possible to disable the tests

Sebastian Huber sebh at rtems.org
Mon Feb 18 09:40:36 UTC 2019


Module:    rtems-libbsd
Branch:    master
Commit:    5432c6bed37fa26a27c2730e34343d4c507902a9
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=5432c6bed37fa26a27c2730e34343d4c507902a9

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Feb 18 10:39:50 2019 +0100

build: Make it possible to disable the tests

---

 waf_libbsd.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/waf_libbsd.py b/waf_libbsd.py
index 597e882..468dcc9 100644
--- a/waf_libbsd.py
+++ b/waf_libbsd.py
@@ -499,7 +499,9 @@ class Builder(builder.ModuleManager):
         #
         # Tests
         #
-        tests = self.data['tests']
+        tests = []
+        if 'tests' in self.data:
+            tests = self.data['tests']
         for testName in sorted(tests):
             test = self.data['tests'][testName]['all']
             test_source = []




More information about the vc mailing list