aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-07-10 01:01:21 +0300
committerGitHub <noreply@github.com>2019-07-10 01:01:21 +0300
commit15d56079ad790880c4a42183d0f31934062a409c (patch)
tree782dc5a092dccd11fa7a2b0b0e2fc4128ade1c02 /run_project_tests.py
parenta310ba863e4104178d509c2c920d12fd391f6a84 (diff)
parent706ebc37f87508a02c547a0fd27a59f31c7a7663 (diff)
downloadmeson-15d56079ad790880c4a42183d0f31934062a409c.zip
meson-15d56079ad790880c4a42183d0f31934062a409c.tar.gz
meson-15d56079ad790880c4a42183d0f31934062a409c.tar.bz2
Merge pull request #5621 from mesonbuild/paralleltests
Run tests in paralled with pytest when installed
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 3bd3253..154da00 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -803,6 +803,8 @@ def check_format():
for (root, _, files) in os.walk('.'):
if '.dub' in root: # external deps are here
continue
+ if '.pytest_cache' in root:
+ continue
if 'meson-logs' in root or 'meson-private' in root:
continue
for fname in files:
@@ -870,6 +872,8 @@ if __name__ == '__main__':
choices=backendlist)
parser.add_argument('--failfast', action='store_true',
help='Stop running if test case fails')
+ parser.add_argument('--no-unittests', action='store_true',
+ help='Not used, only here to simplify run_tests.py')
parser.add_argument('--only', help='name of test(s) to run', nargs='+')
options = parser.parse_args()
setup_commands(options.backend)