diff options
Diffstat (limited to 'test/lit.cfg')
-rw-r--r-- | test/lit.cfg | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index 846a6e9..51e1e4f 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -44,7 +44,7 @@ else: config.test_format = lit.formats.ShTest(execute_external) # suffixes: A list of file extensions to treat as test files. -config.suffixes = ['.c', '.cpp', '.m', '.mm', '.cu', '.ll', '.cl', '.s', '.S'] +config.suffixes = ['.c', '.cpp', '.m', '.mm', '.cu', '.ll', '.cl', '.s', '.S', '.modulemap'] # excludes: A list of directories to exclude from the testsuite. The 'Inputs' # subdirectories contain auxiliary inputs for various tests in their parent @@ -313,6 +313,7 @@ for pattern in [r"\bFileCheck\b", NoPreHyphenDot + r"\bclang-check\b" + NoPostHyphenDot, NoPreHyphenDot + r"\bclang-format\b" + NoPostHyphenDot, NoPreHyphenDot + r"\bclang-interpreter\b" + NoPostHyphenDot, + # FIXME: Some clang test uses opt? NoPreHyphenDot + r"\bopt\b" + NoPostBar + NoPostHyphenDot, # Handle these specially as they are strings searched # for during testing. @@ -403,6 +404,10 @@ if not re.match(r'.*-win32$', config.target_triple): if not re.match(r'.*-win32$', config.target_triple): config.available_features.add('non-ms-sdk') +# Not set on native PS4 environment. +if not re.match(r'.*-scei-ps4', config.target_triple): + config.available_features.add('non-ps4-sdk') + # [PR8833] LLP64-incompatible tests if not re.match(r'^x86_64.*-(win32|mingw32|windows-gnu)$', config.target_triple): config.available_features.add('LP64') @@ -459,6 +464,9 @@ if config.llvm_use_sanitizer == "Undefined": else: config.available_features.add("not_ubsan") +if config.enable_backtrace == "1": + config.available_features.add("backtrace") + # Check if we should run long running tests. if lit_config.params.get("run_long_tests", None) == "true": config.available_features.add("long_tests") |