From 44a76216853b1ad77db539b55450f7e28ca04663 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Thu, 1 Dec 2016 13:07:56 +0100 Subject: [PATCH] tizen: resource-encapsulation prevent to import tools.scons.RunTest As unit tests are not enabled on tizen, there is no need to import it. A smarter way would be to follow other tests patterns and have them separated and included in supported platforms. Bug: https://jira.iotivity.org/browse/IOT-1486 Change-Id: I2a925a251480c35d90bab6b2661c4da60f959b6f Signed-off-by: Philippe Coval Reviewed-on: https://gerrit.iotivity.org/gerrit/15027 Reviewed-by: Uze Choi --- service/resource-encapsulation/src/common/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/resource-encapsulation/src/common/SConscript b/service/resource-encapsulation/src/common/SConscript index 4f97123..bcb6397 100644 --- a/service/resource-encapsulation/src/common/SConscript +++ b/service/resource-encapsulation/src/common/SConscript @@ -22,7 +22,6 @@ # rcs_common (primitiveResource and expiryTimer) build script ## import os -from tools.scons.RunTest import run_test # SConscript file for Local PKI google tests gtest_env = SConscript('#extlibs/gtest/SConscript') @@ -122,6 +121,7 @@ if target_os in ['linux']: rcs_common_test_env.AppendTarget('rcs_common_test') if rcs_common_test_env.get('TEST') == '1': + from tools.scons.RunTest import run_test run_test(rcs_common_test_env, # TODO: fix test on linux '', -- 2.7.4