Comment out unittest of resource hosting.
authorKIM JungYong <jyong2.kim@samsung.com>
Mon, 22 Aug 2016 04:45:55 +0000 (13:45 +0900)
committerUze Choi <uzchoi@samsung.com>
Mon, 22 Aug 2016 08:52:52 +0000 (08:52 +0000)
When unittest of resource hosting running,
lead to crash because pure virtual method called.
some of resource hosting class has OCResource as shared pointer.
When the termination of application
OCResource as shared pointer call destructors on RH's instance termination,
but RI c++ alread terminated, so RH app(unittest) lead to crash.

Change-Id: I297300a16ecd0e4dd7f9a1db8557d7167a59c5a5
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10705
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/resource-hosting/SConscript

index 20d3fb2..f9d9185 100644 (file)
@@ -94,8 +94,8 @@ resourcehosting_env.UserInstallTargetHeader('include/Hosting.h',\
        'service/resource-hosting', 'Hosting.h')
 
 # Go to build Unit test
-if target_os in ['linux']:
-       SConscript('unittest/SConscript')
+#if target_os in ['linux']:
+#      SConscript('unittest/SConscript')
 
 # Go to build sample apps
 SConscript('SampleApp/SConscript')