From 5ff6d3b5999cc7305ea6bf8eb42a093acbb4d5e9 Mon Sep 17 00:00:00 2001 From: gichan2-jang Date: Tue, 2 Apr 2024 18:12:15 +0900 Subject: [PATCH] [Tizen] Update unittest build script Fix tizen auto coverage measurement failure. Use default root path instead of environment variable. The model path of the config file is hard coded, so the wrong model path is passed to ml-service. config_single_add.conf ``` { "single" : { "framework" : "tensorflow-lite", "model" : ["../tests/test_models/models/add.tflite"] } } ``` Signed-off-by: gichan2-jang --- packaging/run-unittest.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packaging/run-unittest.sh b/packaging/run-unittest.sh index 66dc248..5cbcad5 100755 --- a/packaging/run-unittest.sh +++ b/packaging/run-unittest.sh @@ -7,8 +7,7 @@ ## setup() { echo "setup start" - export MLAPI_SOURCE_ROOT_PATH=/usr/bin/unittest-ml - pushd /usr/bin/unittest-ml + pushd /usr/bin/unittest-ml/tests } test_main() { -- 2.7.4