import os
import os.path
+from tools.scons.RunTest import *
+
+Import('test_env')
# SConscript file for Local PKI google tests
-gtest_env = SConscript('#extlibs/gtest/SConscript')
-stringtest_env = gtest_env.Clone()
+stringtest_env = test_env.Clone()
target_os = stringtest_env.get('TARGET_OS')
######################################################################
stringtest_env.AppendTarget('test')
if stringtest_env.get('TEST') == '1':
if target_os in ['linux', 'windows']:
- from tools.scons.RunTest import *
run_test(stringtest_env,
'resource_ccommon_string_test.memcheck',
'resource/c_common/oic_string/test/stringtests')