mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 21:09:03 +02:00

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>
14 lines
441 B
Bash
14 lines
441 B
Bash
#!/bin/sh
|
|
|
|
# InferenceEngineUnitTests requires libmock_engine.so, since they are
|
|
# installed in the same directory we will need to set LD_LIBRARY_PATH
|
|
# so that libmock_engine.so is picked up correctly. We also assume that
|
|
# this script is only execute within the same directory where it is
|
|
# installed.
|
|
|
|
export LD_LIBRARY_PATH=.
|
|
|
|
./InferenceEngineUnitTests |sed \
|
|
-e 's|\[.*OK.*\]\(.*\)|PASS:\1|' \
|
|
-e 's|\[.*FAILED.*\]\(.*\)|FAIL:\1|'
|