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')
-randomtest_env = gtest_env.Clone()
+randomtest_env = test_env.Clone()
target_os = randomtest_env.get('TARGET_OS')
######################################################################
randomtest_env.AppendTarget('test')
if randomtest_env.get('TEST') == '1':
if target_os in ['linux', 'windows']:
- from tools.scons.RunTest import *
run_test(randomtest_env,
'resource_csdk_random_test.memcheck',
'resource/c_common/ocrandom/test/randomtests')