From 100974294d1b2b11da37f71f1f21b663735e1f1a Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Sat, 10 Dec 2016 13:02:58 +0100 Subject: [PATCH] build: Enable resourceCache test again Bug: https://jira.iotivity.org/browse/IOT-1428 Change-Id: Ibc3200ae0c16447720d5ec4aacd801940d616e2e Signed-off-by: Philippe Coval Reviewed-on: https://gerrit.iotivity.org/gerrit/15399 Tested-by: jenkins-iotivity Reviewed-by: Ziran Sun --- .../resource-encapsulation/src/resourceCache/unittests/SConscript | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/service/resource-encapsulation/src/resourceCache/unittests/SConscript b/service/resource-encapsulation/src/resourceCache/unittests/SConscript index 6ca86f3..44033f2 100644 --- a/service/resource-encapsulation/src/resourceCache/unittests/SConscript +++ b/service/resource-encapsulation/src/resourceCache/unittests/SConscript @@ -75,9 +75,8 @@ Alias("cache_test", cache_test) cache_test_env.AppendTarget('cache_test') if cache_test_env.get('TEST') == '1': -# TODO: fix this test on linux and remove commented lines - if target_os in []: - from tools.scons.RunTest import * + if target_os in ['linux']: + from tools.scons.RunTest import run_test run_test(cache_test_env, 'service_resource-encapsulation_src_resourceCache_unittests_cache_test.memtest', 'service/resource-encapsulation/src/resourceCache/unittests/cache_test') -- 2.7.4