diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2019-04-05 02:16:40 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2019-04-05 02:16:40 +0200 |
commit | 84448be84278b1701ea1d4163cd46c6b959bf1be (patch) | |
tree | ae7f92f6e4e91c1218669e634abfb4ce5c5968de /scripts/internal/winmake.py | |
parent | 16128f7298f490d11368dad316fa8e53348ed52d (diff) | |
parent | e471e7cbad9e2d84f9fb114da86df78755836852 (diff) | |
download | psutil-osx-ionice.tar.gz |
merge from masterosx-ionice
Diffstat (limited to 'scripts/internal/winmake.py')
-rwxr-xr-x | scripts/internal/winmake.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/internal/winmake.py b/scripts/internal/winmake.py index cbdeebdc..75b4c348 100755 --- a/scripts/internal/winmake.py +++ b/scripts/internal/winmake.py @@ -318,6 +318,7 @@ def clean(): "*.~", "*__pycache__", ".coverage", + ".failed-tests.txt", ".tox", ) safe_rmtree("build") @@ -440,6 +441,15 @@ def test_by_name(): @cmd +def test_failed(): + """Re-run tests which failed on last run.""" + install() + test_setup() + sh('%s -c "import psutil.tests.runner as r; r.run(last_failed=True)"' % ( + PYTHON)) + + +@cmd def test_script(): """Quick way to test a script""" try: |