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

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


Module:    rtems-libbsd
Branch:    5-freebsd-12
Commit:    88f21b5e2ae294e779c7cff60fb85574001d1c5c
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=88f21b5e2ae294e779c7cff60fb85574001d1c5c

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