build: Enable resourceCache test again
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Sat, 10 Dec 2016 12:02:58 +0000 (13:02 +0100)
committerZiran Sun <ziran.sun@samsung.com>
Fri, 16 Dec 2016 15:18:04 +0000 (15:18 +0000)
Bug: https://jira.iotivity.org/browse/IOT-1428
Change-Id: Ibc3200ae0c16447720d5ec4aacd801940d616e2e
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15399
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
service/resource-encapsulation/src/resourceCache/unittests/SConscript

index 6ca86f3..44033f2 100644 (file)
@@ -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')