build: Enable resource-encapsulation tests
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Fri, 9 Dec 2016 23:09:49 +0000 (00:09 +0100)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Sat, 7 Jan 2017 00:53:34 +0000 (00:53 +0000)
Bug: https://jira.iotivity.org/browse/IOT-1428
Change-Id: Iae22fb7f28be7235f215f9f00614f95920880257
Origin: https://gerrit.iotivity.org/gerrit/#/c/15403/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15403
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
service/resource-encapsulation/unittests/SConscript

index 7e142ba..bc8e85d 100644 (file)
@@ -85,10 +85,10 @@ rcs_client_test = rcs_test_env.Program('rcs_client_test', rcs_test_src)
 Alias("rcs_client_test", rcs_client_test)
 rcs_test_env.AppendTarget('rcs_client_test')
 
+# TODO: fix this test on linux and remove commented lines
 if rcs_test_env.get('TEST') == '1':
     target_os = rcs_test_env.get('TARGET_OS')
-# TODO: fix this test on linux and remove commented lines
-    if target_os in []:
+    if target_os in ['linux'] and rcs_test_env.get('SECURED') != '1':
         from tools.scons.RunTest import run_test
         run_test(rcs_test_env,
 #                'service_resource-encapsulation_unittests_rcs_client_test.memcheck',