diff options
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 | 13 |
1 files changed, 13 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 new file mode 100644 index 00000000..92f238a9 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/run-ptest @@ -0,0 +1,13 @@ +#!/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|' |