Created SConscripts for the C and C++ unit tests.
authorDoug Hudson <douglas.hudson@intel.com>
Fri, 13 Feb 2015 23:19:57 +0000 (18:19 -0500)
committerSashi Penta <sashi.kumar.penta@intel.com>
Wed, 18 Feb 2015 16:11:36 +0000 (16:11 +0000)
commit349c5303322863ea2d4ffd92e516b38e513cfb19
treed8645bf866f5b806707aa1bb2b79e06264cfb3a4
parent3abe9bc917d3a3440c87bf1be0ccf566df42de64
Created SConscripts for the C and C++ unit tests.

This change included making mods to <src_dir>/resource/SConscript to:

-call the C and C++ unit test SConscripts

-ensure that the Google Unit Test library and Hippo Mocking
library were installed in <src_dir>/extlibs.

Also made a mod to ocstack.c/OCInit( ) to check for invalid mode parameter
and to stacktests.cpp to change OCDoResource signature for CA.

Change-Id: I290d04a876de8c99076e71827d91b5216ffaf29e
Signed-off-by: Doug Hudson <douglas.hudson@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/292
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sudarshan Prasad <sudarshan.prasad@intel.com>
Reviewed-by: Sashi Penta <sashi.kumar.penta@intel.com>
13 files changed:
build_common/SConscript
build_common/external_libs.scons [new file with mode: 0644]
build_common/tools/UnpackAll.py [new file with mode: 0644]
extlibs/gtest/SConscript [new file with mode: 0644]
extlibs/hippomocks.scons [new file with mode: 0644]
resource/SConscript
resource/csdk/stack/src/ocstack.c
resource/csdk/stack/test/README
resource/csdk/stack/test/SConscript [new file with mode: 0644]
resource/csdk/stack/test/stacktests.cpp
resource/unit_tests.scons [new file with mode: 0644]
resource/unittests/README
resource/unittests/SConscript [new file with mode: 0644]