summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudipto <sudipto.bal@samsung.com>2020-06-16 15:56:19 +0530
committerSudipto <sudipto.bal@samsung.com>2020-06-16 15:56:26 +0530
commitcc423098dd27ca8169e59d1defc46b82a9842de4 (patch)
treed819036f2901f9741a6d321264a491116a74c7af
parent45d1d761d5923857a96524ed8377b7980963d72b (diff)
downloadiotivity-cc423098dd27ca8169e59d1defc46b82a9842de4.tar.gz
iotivity-cc423098dd27ca8169e59d1defc46b82a9842de4.tar.bz2
iotivity-cc423098dd27ca8169e59d1defc46b82a9842de4.zip
[UnitTest]Enabling ocevent test cases
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/691 (cherry-picked from 371b5fde8d1b0b29c70f77b5f261724b97cba1f9) Change-Id: Ib87c0e026ebb815ab3b71c3112cfdf886f7c9f60 Signed-off-by: Sudipto <sudipto.bal@samsung.com>
-rwxr-xr-xresource/c_common/ocevent/test/SConscript4
-rw-r--r--resource/unit_tests.scons1
2 files changed, 4 insertions, 1 deletions
diff --git a/resource/c_common/ocevent/test/SConscript b/resource/c_common/ocevent/test/SConscript
index 8424a56c8..113ee6aa2 100755
--- a/resource/c_common/ocevent/test/SConscript
+++ b/resource/c_common/ocevent/test/SConscript
@@ -22,9 +22,11 @@ import os
import os.path
from tools.scons.RunTest import *
+# SConscript file for Local PKI google tests^M
+gtest_env = SConscript('#extlibs/gtest/SConscript')
Import('test_env')
-eventtests_env = test_env.Clone()
+eventtests_env = gtest_env.Clone()
target_os = eventtests_env.get('TARGET_OS')
######################################################################
diff --git a/resource/unit_tests.scons b/resource/unit_tests.scons
index fd18284f7..fdf4d30de 100644
--- a/resource/unit_tests.scons
+++ b/resource/unit_tests.scons
@@ -43,6 +43,7 @@ if target_os in ['linux']:
SConscript('c_common/oic_malloc/test/SConscript')
SConscript('c_common/oic_time/test/SConscript')
SConscript('c_common/ocrandom/test/SConscript')
+ SConscript('c_common/ocevent/test/SConscript')
# Build C unit tests
SConscript('csdk/stack/test/SConscript')