summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2018-03-13 19:20:13 +0100
committerMathieu Duponchelle <mathieu@centricular.com>2018-03-13 19:20:13 +0100
commitcf997f974127efbd6aa8e5faa86b09d4b5d285bd (patch)
tree11878901357a6060ce014ff50cbefbec8af5475f /docs
parentcfb3a488f02e50be1fd376d2ea990b00301b1839 (diff)
downloadpygobject-cf997f974127efbd6aa8e5faa86b09d4b5d285bd.tar.gz
tests: expose a verbosity environment variable
Diffstat (limited to 'docs')
-rw-r--r--docs/devguide/building_testing.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/devguide/building_testing.rst b/docs/devguide/building_testing.rst
index f2c9624e..963bb85b 100644
--- a/docs/devguide/building_testing.rst
+++ b/docs/devguide/building_testing.rst
@@ -35,6 +35,9 @@ Using Autotools
make check TEST_NAMES=test_gi.TestUtf8
make check TEST_NAMES=test_gi.TestUtf8.test_utf8_full_return
+ # To display stdout and pytest verbose output:
+ PYGI_TEST_VERBOSE=yes make check
+
# To execute all the tests in a gdb session
make check.gdb
@@ -67,6 +70,9 @@ Using Setuptools
TEST_NAMES=test_gi.TestUtf8 python3 setup.py test
TEST_NAMES=test_gi.TestUtf8.test_utf8_full_return python3 setup.py test
+ # To display stdout and pytest verbose output:
+ PYGI_TEST_VERBOSE=yes python3 setup.py test
+
# using pytest directly
py.test-3 tests/test_gi.py