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 | 17 |
1 files changed, 6 insertions, 11 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 92f238a9..0b995ccb 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/files/run-ptest +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/run-ptest | |||
@@ -1,13 +1,8 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | # InferenceEngineUnitTests requires libmock_engine.so, since they are | 3 | for i in cpu ie vpu |
4 | # installed in the same directory we will need to set LD_LIBRARY_PATH | 4 | do |
5 | # so that libmock_engine.so is picked up correctly. We also assume that | 5 | ./$i"UnitTests" |sed \ |
6 | # this script is only execute within the same directory where it is | 6 | -e 's|\[.*OK.*\]\(.*\)|PASS:\1|' \ |
7 | # installed. | 7 | -e 's|\[.*FAILED.*\]\(.*\)|FAIL:\1|' |
8 | 8 | done | |
9 | export LD_LIBRARY_PATH=. | ||
10 | |||
11 | ./InferenceEngineUnitTests |sed \ | ||
12 | -e 's|\[.*OK.*\]\(.*\)|PASS:\1|' \ | ||
13 | -e 's|\[.*FAILED.*\]\(.*\)|FAIL:\1|' | ||