Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Odoo scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo scripts
Commits
88d7fba50555
Commit
88d7fba50555
authored
10 months ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
run_tests: Fix method name
parent
678fabdd5d7a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NEWS.rst
+5
-0
5 additions, 0 deletions
NEWS.rst
odoo_scripts_common
+1
-1
1 addition, 1 deletion
odoo_scripts_common
run_tests
+1
-1
1 addition, 1 deletion
run_tests
with
7 additions
and
2 deletions
NEWS.rst
+
5
−
0
View file @
88d7fba5
...
...
@@ -2,6 +2,11 @@
History
=======
21.7.1 (2024-04-22)
-------------------
run_tests: fix function name.
21.7.0 (2024-04-22)
-------------------
...
...
This diff is collapsed.
Click to expand it.
odoo_scripts_common
+
1
−
1
View file @
88d7fba5
...
...
@@ -89,7 +89,7 @@
-e
"s/ FAILED/
${
esc
}
[41m
${
esc
}
[97m
${
esc
}
[1mFAILED
${
esc
}
[0m/"
\
}
# The analy
s
e method does several things:
# The analy
z
e 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
...
...
This diff is collapsed.
Click to expand it.
run_tests
+
1
−
1
View file @
88d7fba5
...
...
@@ -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]
analy
s
e
$logfile
&&
return_code
=
0
||
return_code
=
$?
analy
z
e
$logfile
&&
return_code
=
0
||
return_code
=
$?
echo
''
if
[[
$start_status
-ne
0
]]
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment