[clang] f75f19c - [Clang][test] Add .i files for test discovery

Sylvain Audi via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 20 15:21:50 PDT 2020


Author: Sylvain Audi
Date: 2020-03-20T18:21:27-04:00
New Revision: f75f19c2374807247e779a1e00bfeabc337ee446

URL: https://github.com/llvm/llvm-project/commit/f75f19c2374807247e779a1e00bfeabc337ee446
DIFF: https://github.com/llvm/llvm-project/commit/f75f19c2374807247e779a1e00bfeabc337ee446.diff

LOG: [Clang][test] Add .i files for test discovery

The .i files in the clang tests (2 files) were not run by lit :
clang/test/CodeGen/debug-info-preprocessed-file.i
clang/test/FrontEnd/processed-input.i

Differential Revision: https://reviews.llvm.org/D75853

Added: 
    

Modified: 
    clang/test/lit.cfg.py

Removed: 
    


################################################################################
diff  --git a/clang/test/lit.cfg.py b/clang/test/lit.cfg.py
index bdf3b1179225..18b5a2991f7e 100644
--- a/clang/test/lit.cfg.py
+++ b/clang/test/lit.cfg.py
@@ -25,7 +25,7 @@
 config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
 
 # suffixes: A list of file extensions to treat as test files.
-config.suffixes = ['.c', '.cpp', '.cppm', '.m', '.mm', '.cu',
+config.suffixes = ['.c', '.cpp', '.i', '.cppm', '.m', '.mm', '.cu',
                    '.ll', '.cl', '.s', '.S', '.modulemap', '.test', '.rs', '.ifs']
 
 # excludes: A list of directories to exclude from the testsuite. The 'Inputs'


        


More information about the cfe-commits mailing list