From fb92c37124c9c14d445207bee864ed1022467071 Mon Sep 17 00:00:00 2001 From: Kwang Son Date: Wed, 10 Feb 2021 11:02:58 +0900 Subject: [PATCH] Add test resource download instruction Change-Id: Ib16d40e224508a4b1f5385fba34cdace556e8a17 Signed-off-by: Kwang Son --- script/build.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/script/build.sh b/script/build.sh index 397d134..79d9c14 100755 --- a/script/build.sh +++ b/script/build.sh @@ -63,6 +63,14 @@ cmd_test_setup() { sdb $SDB_OPTIONS shell mkdir -p /tmp/mvtest/ + # check [test/tct/native/api.git] /src/utc/capi-media-vision/res/ is on target + res_exist=$(sdb $SDB_OPTIONS shell '[ -d "/tmp/mvtest/res" ] && echo 1') + if [ -z $res_exist ]; then + echo 'download https://review.tizen.org/gerrit/gitweb?p=test/tct/native/api.git;a=snapshot;h=1c301c79f082ac7a43f7f0791bbac609b1c34eb3;sf=tgz' + echo 'and copy to /tmp/mvtest/res on target' + sdb $SDB_OPTIONS shell mkdir -p /tmp/mvtest/res + fi + # check libcheck is installed n_libcheck=$(sdb $SDB_OPTIONS shell ldconfig -p | grep libcheck | wc -l) if [ $n_libcheck -eq 0 ]; then -- 2.7.4