aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-02-16 16:51:51 -0800
committerGitHub <noreply@github.com>2021-02-16 16:51:51 -0800
commit7812ceec5fe6147bfe8a5a265b58db1282d2cabc (patch)
tree037936fbe637fd1fe0b3df8d9a04091b289a6d5a /run_unittests.py
parentf3727c62c6c8e05c4b05f5f547f7b757f69b65ea (diff)
parent3410465178b471d57d8591561a5c4f45015aa782 (diff)
downloadmeson-7812ceec5fe6147bfe8a5a265b58db1282d2cabc.zip
meson-7812ceec5fe6147bfe8a5a265b58db1282d2cabc.tar.gz
meson-7812ceec5fe6147bfe8a5a265b58db1282d2cabc.tar.bz2
Merge pull request #8355 from obilaniu/cudafixes
CUDA Compiler Fixes
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 8083342..0bd6d4b 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -3769,7 +3769,7 @@ class AllPlatformTests(BasePlatformTests):
env = get_fake_env()
for l in ['cpp', 'cs', 'd', 'java', 'cuda', 'fortran', 'objc', 'objcpp', 'rust']:
try:
- comp = getattr(env, f'detect_{l}_compiler')(MachineChoice.HOST)
+ comp = env.detect_compiler_for(l, MachineChoice.HOST)
with tempfile.TemporaryDirectory() as d:
comp.sanity_check(d, env)
langs.append(l)