aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-12-28 19:45:29 +0200
committerGitHub <noreply@github.com>2019-12-28 19:45:29 +0200
commit8dd4e63eb377a51bfca9d0f16dc793a6ae76f9dd (patch)
treed0b181d149b4495af616875a19f572a964f49919 /run_project_tests.py
parente1dd310333aa9a028ec037389539dcd660888323 (diff)
parent9aa766da6442bf1649e1f54540bca9f17e563298 (diff)
downloadmeson-8dd4e63eb377a51bfca9d0f16dc793a6ae76f9dd.zip
meson-8dd4e63eb377a51bfca9d0f16dc793a6ae76f9dd.tar.gz
meson-8dd4e63eb377a51bfca9d0f16dc793a6ae76f9dd.tar.bz2
Merge pull request #6380 from scivision/cuda_qc
refactor/doc: cuda tests
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 4f04fb2..5f3c40a 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -581,7 +581,7 @@ def skippable(suite, test):
# Other framework tests are allowed to be skipped on other platforms
return True
-def skip_csharp(backend):
+def skip_csharp(backend) -> bool:
if backend is not Backend.ninja:
return True
if not shutil.which('resgen'):
@@ -671,6 +671,7 @@ def detect_tests_to_run(only: typing.List[str]) -> typing.List[typing.Tuple[str,
('objective c++', 'objcpp', backend not in (Backend.ninja, Backend.xcode) or not have_objcpp_compiler()),
('fortran', 'fortran', skip_fortran or backend != Backend.ninja),
('swift', 'swift', backend not in (Backend.ninja, Backend.xcode) or not shutil.which('swiftc')),
+ # CUDA tests on Windows: use Ninja backend: python run_project_tests.py --only cuda --backend ninja
('cuda', 'cuda', backend not in (Backend.ninja, Backend.xcode) or not shutil.which('nvcc')),
('python3', 'python3', backend is not Backend.ninja),
('python', 'python', backend is not Backend.ninja),