From: Philippe Coval Date: Sat, 10 Dec 2016 12:02:58 +0000 (+0100) Subject: build: Enable resourceCache test again X-Git-Tag: 1.3.0~1004 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=100974294d1b2b11da37f71f1f21b663735e1f1a;p=platform%2Fupstream%2Fiotivity.git 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 --- 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')