From bc050a15dcf54cf47a475a13459d81271128a8c1 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Sat, 10 Dec 2016 13:02:55 +0100 Subject: [PATCH] build: Enable easy-setup mediator richsdk unittests Bug: https://jira.iotivity.org/browse/IOT-1428 Change-Id: Iec84747226fc6ef086e63cbb1ae03de00c4b8db1 Origin: https://gerrit.iotivity.org/gerrit/#/c/15413/ Signed-off-by: Philippe Coval Reviewed-on: https://gerrit.iotivity.org/gerrit/15785 Tested-by: jenkins-iotivity Reviewed-by: Mats Wichmann --- service/easy-setup/mediator/richsdk/unittests/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/easy-setup/mediator/richsdk/unittests/SConscript b/service/easy-setup/mediator/richsdk/unittests/SConscript index b244fec..14bbf42 100644 --- a/service/easy-setup/mediator/richsdk/unittests/SConscript +++ b/service/easy-setup/mediator/richsdk/unittests/SConscript @@ -85,9 +85,9 @@ easysetup_mediator_test = easysetup_mediator_test_env.Program('easysetup_mediato Alias("easysetup_mediator_test", easysetup_mediator_test) env.AppendTarget('easysetup_mediator_test') -# TODO: fix this test for linux on supported configurations +# TODO: fix this test on supported configurations and remove commented lines if env.get('TEST') == '1': - if target_os in []: + if target_os in ['linux'] and env.get('SECURED') != '1': from tools.scons.RunTest import run_test run_test(easysetup_mediator_test_env, # 'service_easy-setup_mediator_richsdk_unittests_easysetup_mediator_test.memcheck', -- 2.7.4