1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/CodeGen/M68k/lit.local.cfg
Min-Yih Hsu eae33fdf31 [M68k] Fixed incorrect extract-section command substitution
Fix Bug 49485 (https://bugs.llvm.org/show_bug.cgi?id=49485). Which was
caused by incorrect invocation of `extract-section.py` on Windows.
Replacing it with more general python script invocation.

Differential Revision: https://reviews.llvm.org/D98661
2021-03-16 13:37:50 -07:00

15 lines
403 B
INI

import os
config.suffixes = ['.ll', '.mir', '.test', '.txt']
extract_section_path = os.path.join(config.llvm_src_root,
'utils', 'extract-section.py')
config.substitutions.append(('extract-section',
"'%s' %s %s" % (config.python_executable,
extract_section_path, '--byte-indicator --hex-width=2')))
if not 'M68k' in config.root.targets:
config.unsupported = True