Enable more unit tests on Windows
authorDavid Antler <david.a.antler@intel.com>
Fri, 26 Aug 2016 17:31:47 +0000 (10:31 -0700)
committerDave Thaler <dthaler@microsoft.com>
Sat, 17 Sep 2016 18:25:56 +0000 (18:25 +0000)
commiteffc296adcc2632850ef26f99982a619460576f0
treec4587af4138815d9c8ae3b0ba33ab9f9404f0795
parent736b3bd6b91358ceeed0b1d33414e07488d92eaf
Enable more unit tests on Windows

* Enable resource/c_common unit tests
* Enable resource/unittests binary (partially)
* Fix small unit test bugs related to MSVC
* Consolidate flags for gtest binaries on Windows

Change-Id: Iead5e4494f3cc0e597ccee4bd83e6d9978141972
Signed-off-by: David Antler <david.a.antler@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11609
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Soemin Tjong <stjong@microsoft.com>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
19 files changed:
extlibs/gtest/SConscript
extlibs/hippomocks.scons
resource/c_common/ocrandom/test/SConscript
resource/c_common/oic_malloc/test/SConscript
resource/c_common/oic_malloc/test/linux/oic_malloc_tests.cpp
resource/c_common/oic_string/test/SConscript
resource/c_common/oic_string/test/linux/oic_string_tests.cpp
resource/c_common/oic_time/test/SConscript
resource/csdk/connectivity/test/SConscript
resource/csdk/octbstack_product.def
resource/csdk/security/provisioning/unittest/SConscript
resource/csdk/security/unittest/SConscript
resource/csdk/stack/test/SConscript
resource/src/OCApi.cpp
resource/unit_tests.scons
resource/unittests/OCRepresentationTest.cpp
resource/unittests/OCResourceResponseTest.cpp
resource/unittests/SConscript
run.bat