Skip to content

Commit

Permalink
Add "python setup.py test" option (fixes numenta#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
SaganBolliger committed Dec 8, 2015
1 parent b84021a commit 18acfea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bindings/py/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ def findRequirements(platform):



def runTests(args):
errno = subprocess.call(["py.test", " ".join(args)])
raise SystemExit(errno)



def getPlatformInfo():
"""Identify platform."""
if "linux" in sys.platform:
Expand Down

0 comments on commit 18acfea

Please sign in to comment.