mirror of
https://github.com/libfuse/libfuse.git
synced 2024-11-23 04:04:31 +08:00
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:
parent
a6a219f534
commit
38d40c5bc1
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user