mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-25 18:55:48 +00:00
Ignore test Inputs globally and remove redundant lit.local.cfg files
By adding a default config.excludes pattern we can avoid individual suppressions in subdirectories. This matches LLVM's lit.cfg which also excludes a few other common non-test filenames for consistency. llvm-svn: 194814
This commit is contained in:
parent
bf50fbfc21
commit
9c5ae47c94
@ -1 +0,0 @@
|
||||
config.suffixes = []
|
@ -1 +0,0 @@
|
||||
config.suffixes = []
|
@ -1 +0,0 @@
|
||||
config.suffixes = []
|
@ -1 +0,0 @@
|
||||
config.suffixes = []
|
@ -1 +0,0 @@
|
||||
config.suffixes = []
|
@ -1 +0,0 @@
|
||||
config.suffixes = []
|
@ -46,6 +46,11 @@ 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']
|
||||
|
||||
# excludes: A list of directories to exclude from the testsuite. The 'Inputs'
|
||||
# subdirectories contain auxiliary inputs for various tests in their parent
|
||||
# directories.
|
||||
config.excludes = ['Inputs', 'CMakeLists.txt', 'README.txt', 'LICENSE.txt']
|
||||
|
||||
# test_source_root: The root path where tests are located.
|
||||
config.test_source_root = os.path.dirname(__file__)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user