mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
[fix] Bring kodev cov command in line with kodev test (#6341)
This commit is contained in:
13
kodev
13
kodev
@@ -773,6 +773,7 @@ OPTIONS:
|
||||
|
||||
--show-previous show coverage stats from previous run
|
||||
--full show full coverage report (down to each line)
|
||||
--no-debug no debugging symbols (default for target devices)
|
||||
"
|
||||
show_full=0
|
||||
show_previous=0
|
||||
@@ -786,6 +787,10 @@ OPTIONS:
|
||||
--show-previous)
|
||||
show_previous=1
|
||||
;;
|
||||
--no-debug)
|
||||
export KODEBUG=
|
||||
KODEBUG_NO_DEFAULT=1
|
||||
;;
|
||||
-h | --help)
|
||||
echo "${COV_HELP_MSG}"
|
||||
exit 0
|
||||
@@ -799,7 +804,8 @@ OPTIONS:
|
||||
shift
|
||||
done
|
||||
|
||||
check_submodules && make
|
||||
set -e
|
||||
check_submodules && kodev-build
|
||||
setup_env
|
||||
make "${EMU_DIR}/.busted"
|
||||
pushd "${EMU_DIR}" && {
|
||||
@@ -867,8 +873,9 @@ Supported commands:
|
||||
log Tail log stream for a running KOReader app
|
||||
release Build KOReader release package
|
||||
run Run KOReader
|
||||
test Run tests
|
||||
check Run static-analysis
|
||||
test Run busted tests
|
||||
check Run luacheck static-analysis
|
||||
cov Run busted tests for coverage
|
||||
wbuilder Run wbuilder.lua script (useful for building new UI widget)
|
||||
"
|
||||
[ $# -lt 1 ] && {
|
||||
|
||||
Reference in New Issue
Block a user