build: Bypass non finishing security test (workaround)
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 29 Nov 2016 21:02:57 +0000 (22:02 +0100)
committerPhil Coval <philippe.coval@osg.samsung.com>
Thu, 1 Dec 2016 09:30:08 +0000 (09:30 +0000)
Occured when SECURED=1

This change is temporary to make QA verifier sane again,
 with this change:
https://gerrit.iotivity.org/gerrit/#/c/14903/

If merged I will raise bugs for each bypassed testcase related to
https://gerrit.iotivity.org/gerrit/#/q/topic:IOT-1486

Bug: https://jira.iotivity.org/browse/IOT-1486
Origin: https://gerrit.iotivity.org/gerrit/#/c/14925/
Change-Id: I574f92375703bf8a82cad7be6948d46c10776360
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14925
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/csdk/security/provisioning/unittest/SConscript

index 51486a3cc41eacff8450c49702e5ece11d2fae0d..1d0ea0ae919a841444ac50839b6d5166ff33bf00 100644 (file)
@@ -112,7 +112,7 @@ if target_os not in ['windows']:
 Alias("test", [unittest])
 
 sptest_env.AppendTarget('test')
-if sptest_env.get('TEST') == '1':
+if sptest_env.get('TEST') == '1' and sptest_env.get('SECURED') != '1':
        if target_os in ['linux', 'windows']:
                out_dir = sptest_env.get('BUILD_DIR')
                result_dir = os.path.join(sptest_env.get('BUILD_DIR'), 'test_out') + os.sep