replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / resource / csdk / connectivity / test / SConscript
index 2289c8b..24a0df3 100644 (file)
@@ -49,9 +49,6 @@ if target_os not in ['arduino', 'darwin', 'ios', 'msys_nt', 'windows']:
 if catest_env.get('SECURED') == '1':
        catest_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509','mbedcrypto'])
 
-if catest_env.get('WITH_RD') == '1':
-       catest_env.PrependUnique(LIBS = ['resource_directory'])
-
 if catest_env.get('LOGGING'):
        catest_env.AppendUnique(CPPDEFINES = ['TB_LOG'])
 
@@ -72,7 +69,7 @@ tests_src = [
        'catests.cpp',
        'caprotocolmessagetest.cpp',
        'ca_api_unittest.cpp',
-       'camutex_tests.cpp',
+       'octhread_tests.cpp',
        'uarraylist_test.cpp',
        'ulinklist_test.cpp',
        'uqueue_test.cpp'
@@ -82,7 +79,7 @@ if (('IP' in target_transport) or ('ALL' in target_transport)):
        if target_os != 'arduino':
                tests_src = tests_src + ['cablocktransfertest.cpp']
 
-if catest_env.get('SECURED') == '1':
+if catest_env.get('SECURED') == '1' and catest_env.get('WITH_TCP') == True:
        tests_src = tests_src + ['ssladapter_test.cpp']
 
 catests = catest_env.Program('catests', tests_src)