aboutsummaryrefslogtreecommitdiffstats
path: root/test/ci-build.sh
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2024-03-20 01:01:49 +0100
committerBernd Schubert <bschubert@ddn.com>2024-03-20 09:09:29 +0100
commit38d40c5bc1bd2c3614214fd996d6aee1e964019a (patch)
tree1852fa7df8b5958333ddaa96fa221d4c2c567849 /test/ci-build.sh
parenta6a219f5344a5c09cec34416818342ac220a0df2 (diff)
downloadlibfuse-38d40c5bc1bd2c3614214fd996d6aee1e964019a.tar.gz
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"
Diffstat (limited to 'test/ci-build.sh')
-rwxr-xr-xtest/ci-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ci-build.sh b/test/ci-build.sh
index a023c15..fe77bbd 100755
--- a/test/ci-build.sh
+++ b/test/ci-build.sh
@@ -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