diff --git a/run_unittests.py b/run_unittests.py index 4dd674d34..7a2502a6e 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -136,7 +136,7 @@ def main(): # Let there be colors! if 'CI' in os.environ: pytest_args += ['--color=yes'] - pytest_args += ['./run_unittests.py'] + pytest_args += ['unittests'] pytest_args += convert_args(sys.argv[1:]) # Always disable pytest-cov because we use a custom setup try: diff --git a/setup.cfg b/setup.cfg index a23af07c6..dfaba76dd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -62,4 +62,4 @@ include = mesonbuild, mesonbuild.* [tool:pytest] python_classes = python_files = - run_unittests.py + unittests/*tests.py diff --git a/unittests/__init__.py b/unittests/__init__.py new file mode 100644 index 000000000..e69de29bb