summaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2024-07-12 20:57:04 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2024-07-17 18:37:51 +0300
commit61c742fae9ec74e81b3bb3caf815cf49992fb93c (patch)
tree18b604a698220c713cba3b443c279c7a65f4f6dc /run_tests.py
parentde8e3d65e06f91f0927e84dbf215a298b73590b8 (diff)
downloadmeson-61c742fae9ec74e81b3bb3caf815cf49992fb93c.tar.gz
Remove language (AKA compiler) type from OptionKey.
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index d32a5ac74..4e22028b8 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -153,7 +153,7 @@ def get_fake_env(sdir: str = '', bdir: T.Optional[str] = None, prefix: str = '',
if opts is None:
opts = get_fake_options(prefix)
env = Environment(sdir, bdir, opts)
- env.coredata.optstore.set_value_object(OptionKey('args', lang='c'), FakeCompilerOptions())
+ env.coredata.optstore.set_value_object(OptionKey('c_args'), FakeCompilerOptions())
env.machines.host.cpu_family = 'x86_64' # Used on macOS inside find_library
# Invalidate cache when using a different Environment object.
clear_meson_configure_class_caches()