csdk: fix minimal linux tests
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 20 Jul 2016 15:12:14 +0000 (17:12 +0200)
committerZiran Sun <ziran.sun@samsung.com>
Wed, 3 Aug 2016 13:31:59 +0000 (13:31 +0000)
commit2cef6ebad7aa757ff3987ff7668b269d05712670
treeceaf59c66dfea25314b68fced9e3c6fb3874d592
parentaf35b7458456139514af25d7eba1f7c85957b8de
csdk: fix minimal linux tests

Update to current API, and make them build by default.

Those samples files are good candidates
 to illustrate C API in plain C and not C++,
 specially for systems without recent g++ (ie: Tizen:2.2-)

Change-Id: I22e18903037a249e1dce4d29c2580ffe865caf50
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9515
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
resource/SConscript
resource/csdk/stack/test/linux/SConscript [new file with mode: 0644]
resource/csdk/stack/test/linux/occlient.c
resource/csdk/stack/test/linux/ocserver.c