Updates setup.py to include the real unit tests.
These can be run through `setup.py test`.
Bug: None
Test: Ran `sudo setup.py test`
Change-Id: Ie8a370a47a3d187c2f30f67096f54ca8df8d43c4
diff --git a/acts/framework/setup.py b/acts/framework/setup.py
index 59210f9..2aa136c 100755
--- a/acts/framework/setup.py
+++ b/acts/framework/setup.py
@@ -66,9 +66,14 @@
self.test_suite = True
def run_tests(self):
- import pytest
- errno = pytest.main(self.test_args)
- sys.exit(errno)
+ test_path = os.path.join(os.path.dirname(__file__),
+ '../tests/meta/ActsUnitTest.py')
+ result = subprocess.Popen('python3 %s' % test_path,
+ stdout=sys.stdout,
+ stderr=sys.stderr,
+ shell=True)
+ result.communicate()
+ sys.exit(result.returncode)
class ActsInstallDependencies(cmd.Command):