diff options
author | Chin Huat Ang <chin.huat.ang@intel.com> | 2019-10-16 14:34:48 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2019-10-21 07:19:43 +0800 |
commit | eff93c1db6cf796a26261e9c7f0ed28d9e66f176 (patch) | |
tree | ad7f493b80ffdd8cd12d4fa9005ded53ee99bb5d /dynamic-layers/openembedded-layer/recipes-support/opencv/files/run-ptest | |
parent | 00c4176e028d2b306aa353f0973ab83fd3dce525 (diff) | |
download | meta-intel-eff93c1db6cf796a26261e9c7f0ed28d9e66f176.tar.gz |
dldt-inference-engine: fix ptest failures
Package libmock_engine.so as part of dldt-inference-engine-ptest and
update run-ptest to set LD_LIBRARY_PATH to fix the following
InferenceEngineUnitTests failures:
FAIL: 12 tests, listed below:
FAIL: PluginTest.canCreatePlugin
FAIL: PluginTest.canCreatePluginUsingSmartPtr
FAIL: PluginTest.shouldThrowExceptionIfPluginNotExist
FAIL: PluginTest.canCallErrorHandlerIfNecessary
FAIL: PluginTest.canForwardPluginEnginePtr
FAIL: PluginTest.canSetConfiguration
FAIL: PluginDispatcherTests.canLoadMockPlugin
FAIL: PluginDispatcherTests.returnsIfLoadSuccessfull
FAIL: SharedObjectLoaderTests.canLoadExistedPlugin
FAIL: SharedObjectLoaderTests.canFindExistedMethod
FAIL: SharedObjectLoaderTests.throwIfMethodNofFoundInLibrary
FAIL: SharedObjectLoaderTests.canCallExistedMethod
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-support/opencv/files/run-ptest')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-support/opencv/files/run-ptest | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/files/run-ptest b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/run-ptest index 77310f9f..92f238a9 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/files/run-ptest +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/run-ptest | |||
@@ -1,5 +1,13 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | # InferenceEngineUnitTests requires libmock_engine.so, since they are | ||
4 | # installed in the same directory we will need to set LD_LIBRARY_PATH | ||
5 | # so that libmock_engine.so is picked up correctly. We also assume that | ||
6 | # this script is only execute within the same directory where it is | ||
7 | # installed. | ||
8 | |||
9 | export LD_LIBRARY_PATH=. | ||
10 | |||
3 | ./InferenceEngineUnitTests |sed \ | 11 | ./InferenceEngineUnitTests |sed \ |
4 | -e 's|\[.*OK.*\]\(.*\)|PASS:\1|' \ | 12 | -e 's|\[.*OK.*\]\(.*\)|PASS:\1|' \ |
5 | -e 's|\[.*FAILED.*\]\(.*\)|FAIL:\1|' | 13 | -e 's|\[.*FAILED.*\]\(.*\)|FAIL:\1|' |