Skip to content
Snippets Groups Projects
Commit 88d7fba50555 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:ambulance: run_tests: Fix method name

parent 678fabdd5d7a
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,11 @@
History
=======
21.7.1 (2024-04-22)
-------------------
run_tests: fix function name.
21.7.0 (2024-04-22)
-------------------
......
......@@ -89,7 +89,7 @@
-e "s/ FAILED/ ${esc}[41m${esc}[97m${esc}[1mFAILED${esc}[0m/" \
}
# The analyse method does several things:
# The analyze method does several things:
# - print a resume of failure, errors and passes
# - create a metrics file with the number of tests (when the CI environment variable equals true)
# - return an error code based on the parsing of the log file. This is meant to be used on Odoo that did not exit with
......
......@@ -67,7 +67,7 @@
env odoo_scripts_start_logfile=$logfile $here/start $update -d $dbname $db_user_param --test-enable $loglevel --max-cron=0 --workers=0 --stop-after-init $* 2>&1 | colorize
start_status=$pipestatus[1]
analyse $logfile && return_code=0 || return_code=$?
analyze $logfile && return_code=0 || return_code=$?
echo ''
if [[ $start_status -ne 0 ]];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment