From 26c77800591a09718064d3bcea4b04c9a8544dd1 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Tue, 14 Nov 2017 23:35:19 +0100 Subject: 1173 debug mode (#1176) * implement PSUTIL_DEBUG from C module * update doc * add psutil_debug() utility function * update doc * enable PSUTIL_DEBUG for tests * update appveyor.yml * change psutil_debug() signature so that it can accept variable num of args * provide DEBUG info in psutil_raise_for_pid() * properly print debug message * do not print too much --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index f17b5b87..092dc23a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -83,7 +83,7 @@ build: off test_script: - "%WITH_COMPILER% %PYTHON%/python -V" - - "set PYTHONWARNINGS=all && set PSUTIL_TESTING=1 && %WITH_COMPILER% %PYTHON%/python psutil/tests/__main__.py" + - "set PYTHONWARNINGS=all && set PSUTIL_TESTING=1 && set PSUTIL_DEBUG=1 && %WITH_COMPILER% %PYTHON%/python psutil/tests/__main__.py" after_test: - "%WITH_COMPILER% %PYTHON%/python setup.py bdist_wheel" -- cgit v1.2.1