From 1b8eae55086bcc6c2192a939c309522b5524e4aa Mon Sep 17 00:00:00 2001 From: "jihwan.seo" Date: Fri, 22 Jul 2016 13:50:23 +0900 Subject: [PATCH] added build option for SECURE in testcase. Change-Id: I450ddf0b21ce5a0a7eb3d139219231cc82d47908 Signed-off-by: jihwan.seo Reviewed-on: https://gerrit.iotivity.org/gerrit/9591 Tested-by: jenkins-iotivity Reviewed-by: Jaehong Jo Reviewed-by: Jon A. Cruz --- resource/unit_tests.scons | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resource/unit_tests.scons b/resource/unit_tests.scons index b2d758d..40b1e79 100644 --- a/resource/unit_tests.scons +++ b/resource/unit_tests.scons @@ -50,7 +50,8 @@ if target_os in ['linux']: SConscript('csdk/connectivity/test/SConscript') # Build Security Resource Manager unit tests - SConscript('csdk/security/unittest/SConscript') + if env.get('SECURED') == '1': + SConscript('csdk/security/unittest/SConscript') # Build C++ unit tests SConscript('unittests/SConscript') @@ -70,7 +71,8 @@ elif target_os == 'windows' and env.get('TEST') == '1': SConscript('csdk/connectivity/test/SConscript') # Build Security Resource Manager unit tests - SConscript('csdk/security/unittest/SConscript') + if env.get('SECURED') == '1': + SConscript('csdk/security/unittest/SConscript') # Build Provisioning API unit test if env.get('SECURED') == '1': -- 2.7.4