build: Enable easy-setup mediator richsdk unittests
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Sat, 10 Dec 2016 12:02:55 +0000 (13:02 +0100)
committerPhil Coval <philippe.coval@osg.samsung.com>
Sat, 31 Dec 2016 16:26:38 +0000 (16:26 +0000)
Bug: https://jira.iotivity.org/browse/IOT-1428
Change-Id: Iec84747226fc6ef086e63cbb1ae03de00c4b8db1
Origin: https://gerrit.iotivity.org/gerrit/#/c/15413/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15785
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Mats Wichmann <mats@linux.com>
service/easy-setup/mediator/richsdk/unittests/SConscript

index b244fec..14bbf42 100644 (file)
@@ -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',