diff options
author | Giampaolo Rodola' <g.rodola@gmail.com> | 2014-01-18 05:45:46 -0800 |
---|---|---|
committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2014-01-18 05:45:46 -0800 |
commit | a00649e02a9ae310cb321d70001f30c9c0964799 (patch) | |
tree | 4a6c3f93bdfefed92983bae79d0e8e594e390f93 /make.bat | |
parent | bcacba64b199262f54e4a7904d7c7beb8c00ecfc (diff) | |
download | psutil-a00649e02a9ae310cb321d70001f30c9c0964799.tar.gz |
make.bat add test-process and test-system commands
Diffstat (limited to 'make.bat')
-rw-r--r-- | make.bat | 24 |
1 files changed, 20 insertions, 4 deletions
@@ -26,13 +26,15 @@ set PATH=C:\MinGW\bin;%PATH% if "%1" == "help" ( :help echo Run `make ^<target^>` where ^<target^> is one of: - echo clean clean build files echo build compile without installing + echo build-exes create exe installers in dist directory + echo clean clean build files echo install compile and install - echo uninstall uninstall - echo test run tests echo memtest run memory leak tests - echo build-exes create exe installers in dist directory + echo test run tests + echo test-process run process related tests + echo test-system run system APIs related tests + echo uninstall uninstall echo upload-exes upload exe installers on pypi goto :eof ) @@ -94,6 +96,20 @@ if "%1" == "test" ( goto :eof ) +if "%1" == "test-process" ( + :test + call :install + %PYTHON% -m unittest -v test.test_psutil.TestProcess + goto :eof +) + +if "%1" == "test-system" ( + :test + call :install + %PYTHON% -m unittest -v test.test_psutil.TestSystem + goto :eof +) + if "%1" == "memtest" ( :memtest call :install |