Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion mesonbuild/modules/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,11 @@ def test(self, args: T.Tuple[str, T.Union[build.Executable, build.Jar, 'External
'env': env,
'depends': depends,
}
# typed_* takes a list, and gives a tuple to func_test. Violating that constraint
# makes the universe (or at least use of this function) implode
real_args = list(args)
# TODO: Use interpreter internal API, but we need to go through @typed_kwargs
self._interpreter.func_test(self.current_node, args, kwargs)
self._interpreter.func_test(self.current_node, real_args, kwargs)

def get_option(self, name: str, subproject: str = '',
machine: MachineChoice = MachineChoice.HOST,
Expand Down