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.
This commit is contained in:
Christian Mauderer
2016-07-14 15:34:13 +02:00
committed by Sebastian Huber
parent c117a285de
commit 110dbd0267
4 changed files with 329 additions and 194 deletions

10
wscript
View File

@@ -1361,6 +1361,16 @@ def build(bld):
lib = ["m", "z"],
install_path = None)
test_program01 = ['testsuite/program01/test_main.c']
bld.program(target = "program01",
features = "cprogram",
cflags = cflags,
includes = includes,
source = test_program01,
use = ["bsd"],
lib = ["m", "z"],
install_path = None)
test_swi01 = ['testsuite/swi01/init.c',
'testsuite/swi01/swi_test.c']
bld.program(target = "swi01",