Imported Upstream version 1.1.1
[platform/upstream/iotivity.git] / resource / unit_tests.scons
index c254785..74e2e8c 100644 (file)
@@ -32,7 +32,7 @@ build_dir = env.get('BUILD_DIR')
 if target_os == 'linux':
        # Verify that 'google unit test' library is installed.  If not,
        # get it and install it
-       SConscript(src_dir + '/extlibs/gtest/SConscript')
+       SConscript('#extlibs/gtest/SConscript')
 
        # Verify that 'hippomocks' mocking code is installed.  If not,
        # get it and install it
@@ -41,10 +41,11 @@ if target_os == 'linux':
     # Build Common unit tests
        SConscript('c_common/oic_string/test/SConscript')
        SConscript('c_common/oic_malloc/test/SConscript')
+       SConscript('c_common/oic_time/test/SConscript')
+       SConscript('c_common/ocrandom/test/SConscript')
 
        # Build C unit tests
        SConscript('csdk/stack/test/SConscript')
-       SConscript('csdk/ocrandom/test/SConscript')
 
        SConscript('csdk/connectivity/test/SConscript')
 
@@ -62,7 +63,7 @@ if target_os == 'linux':
 elif target_os == 'darwin':
        # Verify that 'google unit test' library is installed.  If not,
        # get it and install it
-       SConscript(src_dir + '/extlibs/gtest/SConscript')
+       SConscript('#extlibs/gtest/SConscript')
 
        # Build C stack's unit tests.
        SConscript('csdk/stack/test/SConscript')