the provisioning for windows test 11/29711/4 master
authorOleksandr Dmytrenko <o.dmytrenko@samsung.com>
Tue, 20 Aug 2019 13:52:11 +0000 (16:52 +0300)
committerOleksandr Dmytrenko <o.dmytrenko@samsung.com>
Thu, 22 Aug 2019 09:25:42 +0000 (09:25 +0000)
the provisioning for windows test

Change-Id: Ic72f426dd85a6f3f7439ff6cedbb3cb59dc99ac9
Signed-off-by: Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
resource/csdk/security/provisioning/unittest/SConscript
resource/csdk/security/provisioning/unittest/ownershiptransfermanager.cpp

index 89759bf..1fb35cb 100644 (file)
@@ -219,7 +219,7 @@ else:
 # Source files and Targets
 ######################################################################
 
-if target_os in ['linux']:
+if target_os in ['linux','windows']:
     unittest_src = [
         'tools.cpp',
         'ocprovisioningmanager.cpp',
index 3fd9dbe..baf1736 100644 (file)
@@ -17,6 +17,9 @@
  * limitations under the License.
  *
  * *****************************************************************/
+#if defined(_WIN32)
+#pragma warning(disable:4200)
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <gtest/gtest.h>