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/10112/head
Eli Schwartz 3 years ago committed by Nirbheek Chauhan
parent 5757b08893
commit fc9e82a1fe
  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