diff options
Diffstat (limited to 'test/lit.cfg')
-rw-r--r-- | test/lit.cfg | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index ef56473..91abb63 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -12,6 +12,9 @@ config.name = 'LLVM' # testFormat: The test format to use to interpret tests. config.test_format = lit.formats.TclTest() +# To ignore test output on stderr so it doesn't trigger failures uncomment this: +#config.test_format = lit.formats.TclTest(ignoreStdErr=True) + # suffixes: A list of file extensions to treat as test files, this is actually # set by on_clone(). config.suffixes = [] @@ -174,12 +177,12 @@ for sub in ['llvmgcc', 'llvmgxx', 'emitir', 'compile_cxx', 'compile_c', # includes every tool placed in $(LLVM_OBJ_ROOT)/$(BuildMode)/bin # (llvm_tools_dir in lit parlance). # Don't match 'bugpoint-' or 'clang-'. - # Don't match '/clang'. + # Don't match '/clang' or '-clang'. if os.pathsep == ';': pathext = os.environ.get('PATHEXT', '').split(';') else: pathext = [''] -for pattern in [r"\bbugpoint\b(?!-)", r"(?<!/)\bclang\b(?!-)", +for pattern in [r"\bbugpoint\b(?!-)", r"(?<!/|-)\bclang\b(?!-)", r"\bgold\b", r"\bllc\b", r"\blli\b", r"\bllvm-ar\b", r"\bllvm-as\b", @@ -195,7 +198,7 @@ for pattern in [r"\bbugpoint\b(?!-)", r"(?<!/)\bclang\b(?!-)", # Don't match '.opt', '-opt', # '^opt' or '/opt'. r"\bmacho-dump\b", r"(?<!\.|-|\^|/)\bopt\b", - r"\btblgen\b", r"\bFileCheck\b", + r"\bllvm-tblgen\b", r"\bFileCheck\b", r"\bFileUpdate\b", r"\bc-index-test\b", r"\bfpcmp\b", r"\bllvm-PerfectShuffle\b", # Handle these specially as they are strings searched @@ -232,10 +235,6 @@ def llvm_supports_target(name): def llvm_supports_darwin_and_target(name): return 'darwin' in config.target_triple and llvm_supports_target(name) -langs = set([s.strip() for s in site_exp['llvmgcc_langs'].split(',')]) -def llvm_gcc_supports(name): - return name.strip() in langs - bindings = set([s.strip() for s in site_exp['llvm_bindings'].split(',')]) def llvm_supports_binding(name): return name.strip() in bindings |