Commit f626bcd9 authored by Štěpán Balážik's avatar Štěpán Balážik

logging: print Deckard errors in pytest output again

--log-level=40 (errors) is now default for `run.sh` script.
This can be changed using --log-level option (--log-level=10 for full log) when running `*run.sh` scripts or using VERBOSE environment variable.
parent 8b0bc194
Pipeline #38973 passed with stage
in 2 minutes and 40 seconds
[pytest]
log_print = False
python_files=deckard_pytest.py
norecursedirs=*
log_cli=true
......@@ -9,4 +9,4 @@ source "${MAKEDIR}/env.sh"
# compatibility with old TESTS= env variable
# add --scenarios= only if the variable TESTS is non-empty
python3 -m pytest -c "${MAKEDIR}/deckard_pytest.ini" "${MAKEDIR}" ${DECKARDFLAGS:-} ${TESTS:+"--scenarios=${TESTS}"} "$@"
python3 -m pytest -c "${MAKEDIR}/deckard_pytest.ini" ${VERBOSE:-"--log-level=40"} ${VERBOSE:+"--log-level=10"} "${MAKEDIR}" ${DECKARDFLAGS:-} ${TESTS:+"--scenarios=${TESTS}"} "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment