aedi: verbose output for dependencies testing

print build command lines when testing dependencies and verbose output is enabled
This commit is contained in:
alexey.lysiuk 2022-09-03 10:35:19 +03:00
parent 8be2160008
commit 6854a1a40c
1 changed files with 4 additions and 0 deletions

View File

@ -106,5 +106,9 @@ class TestDepsTarget(BuildTarget):
entry,
]
args += shlex.split(pkg_config_output)
if state.verbose:
print(' '.join(str(arg) for arg in args))
subprocess.run(args, check=True, cwd=state.build_path, env=state.environment)
subprocess.run((exe_name,), check=True, env=state.environment)