diff options
author | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2016-07-14 15:34:13 +0200 |
---|---|---|
committer | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2016-08-02 10:20:51 +0200 |
commit | fa43d6a7ea8f26e4f095b55bea74be8cdd5dd6dc (patch) | |
tree | 62bdf66e24a1a65a217ddf777ae56f773b3e91b0 /libbsd_waf.py | |
parent | a9bd4224e86c6f20bbf5f18a60af621c83f15c34 (diff) |
testsuite/syscalls01: Split out program01 part.
This allows to use normal functions for sockets and similar while
allowing to test the upcoming rtems_bsd_program_opan/close/... for the
program part.
Diffstat (limited to 'libbsd_waf.py')
-rw-r--r-- | libbsd_waf.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libbsd_waf.py b/libbsd_waf.py index 76cbf995..5c24b93f 100644 --- a/libbsd_waf.py +++ b/libbsd_waf.py @@ -34,7 +34,7 @@ def configure(conf): def build(bld): # C/C++ flags common_flags = [] - common_flags += ["-O2"] + common_flags += ["-O0"] common_flags += ["-g"] common_flags += ["-fno-strict-aliasing"] common_flags += ["-ffreestanding"] @@ -1407,6 +1407,16 @@ def build(bld): lib = ["m", "z"], install_path = None) + test_program01 = ['testsuite/program01/test_main.c'] + bld.program(target = "program01.exe", + features = "cprogram", + cflags = cflags, + includes = includes, + source = test_program01, + use = ["bsd"], + lib = ["m", "z"], + install_path = None) + test_rcconf01 = ['testsuite/rcconf01/test_main.c'] bld.program(target = "rcconf01.exe", features = "cprogram", |