fix UI regression in compiler.compiles logging

In commit b30dddd4e5, various refactorings
were done, during which a kwarg got accidentally dropped from the
function that determined part of the log message. As a result, a ':'
suddenly appeared in the log message where none should be.

Example expected output:

Checking if "-Werror=shadow with local shadowing" compiles: YES

What actually happened:

Checking if "-Werror=shadow with local shadowing" : compiles: YES

Fixes #9974
pull/9983/head
Eli Schwartz 3 years ago
parent ab441e78b5
commit 3ca61a6aa7
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      mesonbuild/interpreter/compiler.py

@ -441,7 +441,7 @@ class CompilerHolder(ObjectHolder['Compiler']):
code.rel_to_builddir(self.environment.source_dir))
testname = kwargs['name']
extra_args = functools.partial(self._determine_args, kwargs['no_builtin_args'], kwargs['include_directories'], kwargs['args'])
deps, msg = self._determine_dependencies(kwargs['dependencies'])
deps, msg = self._determine_dependencies(kwargs['dependencies'], endl=None)
result, cached = self.compiler.compiles(code, self.environment,
extra_args=extra_args,
dependencies=deps)

Loading…
Cancel
Save