Update waf_unit_test command logging to be compatible with 'WAF_CMD_FORMAT'

This commit is contained in:
Adriano Scoditti 2018-10-03 17:34:08 +02:00
parent fab68b4b8c
commit 9f523216ea
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ class utest(Task.Task):
return self.exec_command(self.ut_exec)
def exec_command(self, cmd, **kw):
Logs.debug('runner: %r', cmd)
self.generator.bld.log_command(cmd, kw)
if getattr(Options.options, 'dump_test_scripts', False):
script_code = SCRIPT_TEMPLATE % {
'python': sys.executable,