summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r2.bb
diff options
context:
space:
mode:
authorChin Huat Ang <chin.huat.ang@intel.com>2019-10-16 14:34:48 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2019-10-21 07:19:43 +0800
commiteff93c1db6cf796a26261e9c7f0ed28d9e66f176 (patch)
treead7f493b80ffdd8cd12d4fa9005ded53ee99bb5d /dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r2.bb
parent00c4176e028d2b306aa353f0973ab83fd3dce525 (diff)
downloadmeta-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/dldt-inference-engine_2019r2.bb')
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r2.bb b/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r2.bb
index b8d5d3d5..562bd740 100644
--- a/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r2.bb
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r2.bb
@@ -14,6 +14,7 @@ SRC_URI = "git://github.com/opencv/dldt.git;protocol=git;branch=2019 \
14 file://0004-disable-werror.patch;patchdir=../ \ 14 file://0004-disable-werror.patch;patchdir=../ \
15 file://0005-point-to-correct-location-of-ngraph-headers.patch;patchdir=../ \ 15 file://0005-point-to-correct-location-of-ngraph-headers.patch;patchdir=../ \
16 file://0001-Install-clDNN-plugin-to-CMAKE_INSTALL_LIBDIR.patch;patchdir=../ \ 16 file://0001-Install-clDNN-plugin-to-CMAKE_INSTALL_LIBDIR.patch;patchdir=../ \
17 file://0001-mock_engine-install-to-CMAKE_INSTALL_LIBDIR.patch;patchdir=../ \
17 file://run-ptest \ 18 file://run-ptest \
18 " 19 "
19SRCREV = "ba6e22b1b5ee4cbefcc30e8d9493cddb0bb3dfdf" 20SRCREV = "ba6e22b1b5ee4cbefcc30e8d9493cddb0bb3dfdf"
@@ -73,6 +74,7 @@ do_install_ptest_base_prepend() {
73 # Create a dummy Makefile so installation doesn't fail. 74 # Create a dummy Makefile so installation doesn't fail.
74 touch ${WORKDIR}/Makefile 75 touch ${WORKDIR}/Makefile
75 mv ${D}${bindir}/InferenceEngineUnitTests ${D}${PTEST_PATH}/ 76 mv ${D}${bindir}/InferenceEngineUnitTests ${D}${PTEST_PATH}/
77 mv ${D}${libdir}/libmock_engine.so ${D}${PTEST_PATH}/
76} 78}
77 79
78FILES_${PN}-dev = "${includedir} \ 80FILES_${PN}-dev = "${includedir} \