X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=resource%2Fcsdk%2Fconnectivity%2Ftest%2FSConscript;h=2289c8bb7c23326972bfacbbf014a26201d65b58;hb=d4486260ba7c9e68461d20a0e1f45f5c62a2632a;hp=f2747212ced8f9f6c3ed9140ed5cf83a480be075;hpb=ee7c7b1f7a64c8fa4a67bccd9dcf3fd01c896a24;p=platform%2Fupstream%2Fiotivity.git diff --git a/resource/csdk/connectivity/test/SConscript b/resource/csdk/connectivity/test/SConscript index f274721..2289c8b 100644 --- a/resource/csdk/connectivity/test/SConscript +++ b/resource/csdk/connectivity/test/SConscript @@ -68,27 +68,24 @@ else: # Source files and Targets ###################################################################### +tests_src = [ + 'catests.cpp', + 'caprotocolmessagetest.cpp', + 'ca_api_unittest.cpp', + 'camutex_tests.cpp', + 'uarraylist_test.cpp', + 'ulinklist_test.cpp', + 'uqueue_test.cpp' +] + if (('IP' in target_transport) or ('ALL' in target_transport)): if target_os != 'arduino': - catests = catest_env.Program('catests', ['catests.cpp', - 'caprotocolmessagetest.cpp', - 'cablocktransfertest.cpp', - 'ca_api_unittest.cpp', - 'camutex_tests.cpp', - 'uarraylist_test.cpp', - 'ulinklist_test.cpp', - 'uqueue_test.cpp' - ]) -else: - # Include all unit test files - catests = catest_env.Program('catests', ['catests.cpp', - 'caprotocolmessagetest.cpp', - 'ca_api_unittest.cpp', - 'camutex_tests.cpp', - 'uarraylist_test.cpp', - 'ulinklist_test.cpp', - 'uqueue_test.cpp' - ]) + tests_src = tests_src + ['cablocktransfertest.cpp'] + +if catest_env.get('SECURED') == '1': + tests_src = tests_src + ['ssladapter_test.cpp'] + +catests = catest_env.Program('catests', tests_src) Alias("test", [catests])