diff --git a/llvm/test/CodeGen/M68k/lit.local.cfg b/llvm/test/CodeGen/M68k/lit.local.cfg --- a/llvm/test/CodeGen/M68k/lit.local.cfg +++ b/llvm/test/CodeGen/M68k/lit.local.cfg @@ -6,7 +6,8 @@ 'utils', 'extract-section.py') config.substitutions.append(('extract-section', - extract_section_path + ' --byte-indicator --hex-width=2')) + "'%s' %s %s" % (config.python_executable, + extract_section_path, '--byte-indicator --hex-width=2'))) if not 'M68k' in config.root.targets: config.unsupported = True