From 7a58ad34291daa0dc6d8f57296c2b20465ad4423 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Sat, 10 Dec 2016 00:09:49 +0100 Subject: [PATCH] build: Enable resource-encapsulation tests Bug: https://jira.iotivity.org/browse/IOT-1428 Change-Id: Iae22fb7f28be7235f215f9f00614f95920880257 Origin: https://gerrit.iotivity.org/gerrit/#/c/15403/ Signed-off-by: Philippe Coval Reviewed-on: https://gerrit.iotivity.org/gerrit/15403 Tested-by: jenkins-iotivity Reviewed-by: Dan Mihai --- service/resource-encapsulation/unittests/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/resource-encapsulation/unittests/SConscript b/service/resource-encapsulation/unittests/SConscript index 7e142ba..bc8e85d 100644 --- a/service/resource-encapsulation/unittests/SConscript +++ b/service/resource-encapsulation/unittests/SConscript @@ -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', -- 2.7.4