From 9ea3c2cbc456bfa9a903eaa0ed6a42a34d12e1c2 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 25 Nov 2015 18:14:17 +0100 Subject: Improves the way tests are handled with `python setup.py test` --- setup.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 8da1bfb..6d4e320 100755 --- a/setup.py +++ b/setup.py @@ -23,11 +23,9 @@ class PyTest(Command): pass def run(self): - import subprocess - import sys os.chdir('test') - errno = subprocess.call([sys.executable, 'test.py', '--local']) - raise SystemExit(errno) + import test + test.test.run_all_tests() setup( name='MAT', -- cgit v1.3