diff options
Diffstat (limited to 'test/lit.cfg')
-rw-r--r-- | test/lit.cfg | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index 2815a61..664d55f 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -243,7 +243,6 @@ for pattern in [r"\bbugpoint\b(?!-)", r"\bmacho-dump\b", NOJUNK + r"\bopt\b", r"\bFileCheck\b", - r"\bFileUpdate\b", r"\bobj2yaml\b", r"\byaml2obj\b", # Handle these specially as they are strings searched @@ -265,6 +264,10 @@ for pattern in [r"\bbugpoint\b(?!-)", tool_path = llvm_tools_dir + '/' + tool_name config.substitutions.append((pattern, tool_pipe + tool_path)) +### Targets + +config.targets = frozenset(config.targets_to_build.split()) + ### Features # Shell execution @@ -332,6 +335,10 @@ if 'darwin' == sys.platform: config.available_features.add('fma3') sysctl_cmd.wait() +# .debug_frame is not emitted for targeting Windows x64. +if not re.match(r'^x86_64.*-(mingw32|win32)', config.target_triple): + config.available_features.add('debug_frame') + # Check if we should use gmalloc. use_gmalloc_str = lit_config.params.get('use_gmalloc', None) if use_gmalloc_str is not None: |