diff options
author | Hyeongseok Oh <hseok82.oh@samsung.com> | 2023-04-12 15:42:02 +0900 |
---|---|---|
committer | Hyeongseok Oh <hseok82.oh@samsung.com> | 2023-04-12 15:42:02 +0900 |
commit | 323663bb115ef625642391a5a8e9b35fee8b2ae3 (patch) | |
tree | 17e2a6b91535e6f53f4cacda5e4db6aa0303dd22 /tests/scripts/onert-test | |
parent | c690d52bdd137ed6a17353aa7af35e8141ece77b (diff) | |
download | nnfw-323663bb115ef625642391a5a8e9b35fee8b2ae3.tar.gz nnfw-323663bb115ef625642391a5a8e9b35fee8b2ae3.tar.bz2 nnfw-323663bb115ef625642391a5a8e9b35fee8b2ae3.zip |
Imported Upstream version 1.22.0upstream/1.22.0
Diffstat (limited to 'tests/scripts/onert-test')
-rw-r--r-- | tests/scripts/onert-test | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/scripts/onert-test b/tests/scripts/onert-test index 99c107c52..f5ed47419 100644 --- a/tests/scripts/onert-test +++ b/tests/scripts/onert-test @@ -16,12 +16,17 @@ [[ "${BASH_SOURCE[0]}" != "${0}" ]] && echo "Please don't source ${BASH_SOURCE[0]}, execute it" && return +# Common variables which are used on test commands +# DRIVER_PATH: test driver and related resources forder +# INSTALL_PATH: test package installed folder +# CACHE_PATH: cache folder for test resource download DRIVER_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" INSTALL_PATH="$(dirname $DRIVER_PATH)" -COMMAND_PATH=$INSTALL_PATH/test/command -BIN_PATH=$INSTALL_PATH/bin +CACHE_PATH=$DRIVER_PATH/cache -export PATH=$BIN_PATH:$PATH +export PATH=$INSTALL_PATH/bin:$PATH + +COMMAND_PATH=$DRIVER_PATH/command function Usage() { |