This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master
in repository sanlock.
commit ec204f851648023d9831d73676b3b4b718b83869
Author: Nir Soffer <nsoffer(a)redhat.com>
Date: Fri Mar 2 20:21:40 2018 +0200
More verbose and detailed pytest output
Tune pytest options:
- more verbose output that may help to debug failures
- show slowest tests duration, we would like to optimize these
- document all options
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
pytest.ini | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/pytest.ini b/pytest.ini
index 73176d5..bb17bd5 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,3 +1,7 @@
[pytest]
-# Note: we must use /var/tmp as sanlock uses direct I/O.
-addopts = -rxs --basetemp=/var/tmp/sanlock
+# Notes:
+# --basetemp: we must use /var/tmp as sanlock uses direct I/O.
+# -vv: increasing verbosify twice shows more detailed failures tracebacks.
+# -rxs: show extra test summary: (s)skipped, (x)failed
+# --durations: show slowest test duration
+addopts = -rxs -vv --basetemp=/var/tmp/sanlock --durations=10
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.