diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2018-04-13 08:17:12 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2018-04-13 08:17:12 +0200 |
commit | 7ce6ac16dcc06e5291a7d6ee3d82b1e691973fed (patch) | |
tree | 717b6abd084a5e5eb0b2713b28b7edb449c8c28b | |
parent | a3a5097c3176daccdb79a2f3b1baaa97ac5c1d3f (diff) | |
download | psutil-7ce6ac16dcc06e5291a7d6ee3d82b1e691973fed.tar.gz |
appveyor debug
-rw-r--r-- | appveyor.yml | 11 | ||||
-rw-r--r-- | psutil/_psutil_common.c | 2 | ||||
-rw-r--r-- | psutil/_psutil_windows.c | 3 |
3 files changed, 8 insertions, 8 deletions
diff --git a/appveyor.yml b/appveyor.yml index f39053ad..e51441e3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -71,20 +71,17 @@ install: # - ps: (new-object net.webclient).DownloadFile('https://raw.github.com/pypa/pip/master/contrib/get-pip.py', 'C:/get-pip.py') - "%WITH_COMPILER% %PYTHON%/python.exe -m pip --version" - "%WITH_COMPILER% %PYTHON%/python.exe -m pip install --upgrade --user setuptools pip" - - "%WITH_COMPILER% %PYTHON%/python.exe -m pip freeze" - - "%WITH_COMPILER% %PYTHON%/python.exe setup.py build" - - "%WITH_COMPILER% %PYTHON%/python.exe setup.py build build_ext -i" - - "%WITH_COMPILER% %PYTHON%/python.exe setup.py develop" - "%WITH_COMPILER% %PYTHON%/python.exe scripts/internal/winmake.py setup-dev-env" + - "%WITH_COMPILER% %PYTHON%/python.exe -m pip freeze" + - "%WITH_COMPILER% %PYTHON%/python.exe scripts/internal/winmake.py install" build: off test_script: - - "%WITH_COMPILER% %PYTHON%/python -V" - - "set PYTHONWARNINGS=all && set PSUTIL_TESTING=1 && set PSUTIL_DEBUG=1 && %WITH_COMPILER% %PYTHON%/python psutil/tests/__main__.py" + - "%WITH_COMPILER% %PYTHON%/python.exe scripts/internal/winmake.py test" after_test: - - "%WITH_COMPILER% %PYTHON%/python setup.py bdist_wheel" + - "%WITH_COMPILER% %PYTHON%/python.exe scripts/internal/winmake.py wheel" artifacts: - path: dist\* diff --git a/psutil/_psutil_common.c b/psutil/_psutil_common.c index e08f011c..49b91c82 100644 --- a/psutil/_psutil_common.c +++ b/psutil/_psutil_common.c @@ -85,7 +85,7 @@ void psutil_debug(const char* format, ...) { va_list argptr; va_start(argptr, format); - fprintf(stderr, "psutil-dubug> "); + fprintf(stderr, "psutil-debug> "); vfprintf(stderr, format, argptr); fprintf(stderr, "\n"); va_end(argptr); diff --git a/psutil/_psutil_windows.c b/psutil/_psutil_windows.c index 20c71b83..ca6d39ec 100644 --- a/psutil/_psutil_windows.c +++ b/psutil/_psutil_windows.c @@ -646,6 +646,9 @@ psutil_cpu_count_phys(PyObject *self, PyObject *args) { goto return_none; } + print("inside 1\n"); + psutil_debug("inside 1"); + while (1) { rc = _GetLogicalProcessorInformationEx( RelationAll, buffer, &length); |