[chore] kodev: make kodev test consistent with build & run (#4969)

pull/4974/head
Frans de Jonge 5 years ago committed by GitHub
parent 080c079d01
commit e869041632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -704,6 +704,7 @@ usage: test <OPTIONS> [front|base] <TEST_NAME>
OPTIONS: OPTIONS:
--tags=TAGS only run tests with given tags --tags=TAGS only run tests with given tags
--no-debug no debugging symbols (default for target devices)
" "
while [[ "${1}" == '-'* ]]; do while [[ "${1}" == '-'* ]]; do
PARAM=$(echo "${1}" | awk -F= '{print $1}') PARAM=$(echo "${1}" | awk -F= '{print $1}')
@ -712,6 +713,10 @@ OPTIONS:
--graph) --graph)
graph_memory=1 graph_memory=1
;; ;;
--no-debug)
export KODEBUG=
KODEBUG_NO_DEFAULT=1
;;
--tags) --tags)
opts="--tags=${VALUE}" opts="--tags=${VALUE}"
;; ;;
@ -739,7 +744,7 @@ OPTIONS:
} }
set -e set -e
check_submodules && make check_submodules && kodev-build
setup_env setup_env
make "${EMU_DIR}/.busted" make "${EMU_DIR}/.busted"

Loading…
Cancel
Save