mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1444 from pagiraud/patch-1
Always activate time when running inside CI tests
This commit is contained in:
commit
0b132252c4
1 changed files with 8 additions and 1 deletions
|
@ -248,7 +248,14 @@ ynh_script_progression() {
|
||||||
# Re-disable xtrace, ynh_handle_getopts_args set it back
|
# Re-disable xtrace, ynh_handle_getopts_args set it back
|
||||||
set +o xtrace # set +x
|
set +o xtrace # set +x
|
||||||
weight=${weight:-1}
|
weight=${weight:-1}
|
||||||
time=${time:-0}
|
|
||||||
|
# Always activate time when running inside CI tests
|
||||||
|
if [ $PACKAGE_CHECK_EXEC -eq 1 ]; then
|
||||||
|
time=${time:-1}
|
||||||
|
else
|
||||||
|
time=${time:-0}
|
||||||
|
fi
|
||||||
|
|
||||||
last=${last:-0}
|
last=${last:-0}
|
||||||
|
|
||||||
# Get execution time since the last $base_time
|
# Get execution time since the last $base_time
|
||||||
|
|
Loading…
Add table
Reference in a new issue