summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-04-30 06:09:27 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2017-04-30 06:09:27 +0200
commitbdaedcaa6589a582ae34366c64376ba2fe2eab39 (patch)
tree7d5e67fb1c62e1e16ee49bbd31c920c8e5660b1e /Makefile
parentccf0380e12b737adf1d9d94d05916118535dd003 (diff)
downloadpsutil-bdaedcaa6589a582ae34366c64376ba2fe2eab39.tar.gz
add a new test_contracts.py test suite which checks API sanity, mainly in terms of returned types and API availability
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 64484177..fba1f93d 100644
--- a/Makefile
+++ b/Makefile
@@ -139,6 +139,11 @@ test-unicode:
${MAKE} install
$(PYTHON) psutil/tests/test_unicode.py
+# APIs sanity tests.
+test-contracts:
+ ${MAKE} install
+ $(PYTHON) psutil/tests/test_contracts.py
+
# Test net_connections() and Process.connections().
test-connections:
${MAKE} install