2 # 'unit_test' script for building unit tests and libs
10 target_os = env.get('TARGET_OS')
11 src_dir = env.get('SRC_DIR')
12 build_dir = env.get('BUILD_DIR')
15 if target_os == 'linux':
16 # Verify that 'google unit test' library is installed. If not,
17 # get it and install it
18 SConscript(src_dir + '/extlibs/gtest/SConscript')
20 # Verify that 'hippomocks' mocking code is installed. If not,
21 # get it and install it
22 SConscript(src_dir + '/extlibs/hippomocks.scons')
25 SConscript('csdk/stack/test/SConscript')
27 # Build C++ unit tests
28 SConscript('unittests/SConscript')