aboutsummaryrefslogtreecommitdiffstats
path: root/dynamic-layers/openembedded-layer/recipes-support/opencv/files/run-ptest
blob: 92f238a925ce25fbcc82e9d7c23e5b3e2602838f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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|'