ci-build.sh: Reduce pytest --maxfail from 99 to 1

We want to see errors - reduce allowed errors.
With --maxfail=99 tests out of the sudden started to hang
in github, without a change in libfuse (I had actually tested
to previous release tags). With --maxfail=1 pytest aborts
and we see failing github.

Also increase python log level to NOTSET - NOTSET should print
all messages.

Also use "pytest" has wrapper for "python3 -m"
This commit is contained in:
Bernd Schubert 2024-03-20 01:01:49 +01:00
parent a6a219f534
commit 38d40c5bc1
2 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
set -e
TEST_CMD="python3 -m pytest --maxfail=99 test/"
TEST_CMD="pytest -v --maxfail=1 --log-level=DEBUG --log-cli-level=DEBUG test/"
SAN="-Db_sanitize=address,undefined"
# not default

View File

@ -2,3 +2,5 @@
addopts = --verbose --assert=rewrite --tb=native -x -r a
markers =
uses_fuse: Indicates that FUSE is supported.
log_cli=true
faulthandler_timeout=60