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 | 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|' |