[Lldb-commits] [lldb] 7ae3eca - [lldb][test] Allow '.c' files to be used as shell tests (#161520)

via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 1 08:24:34 PDT 2025


Author: Michael Buch
Date: 2025-10-01T16:24:30+01:00
New Revision: 7ae3eca6572fe463ed51e82e63890eb7d77096d7

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

LOG: [lldb][test] Allow '.c' files to be used as shell tests (#161520)

Required for https://github.com/llvm/llvm-project/pull/161521

Added: 
    

Modified: 
    lldb/test/Shell/lit.cfg.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/lit.cfg.py b/lldb/test/Shell/lit.cfg.py
index 505847fb763e0..cdc0cfe51f7c6 100644
--- a/lldb/test/Shell/lit.cfg.py
+++ b/lldb/test/Shell/lit.cfg.py
@@ -33,7 +33,7 @@
 
 # suffixes: A list of file extensions to treat as test files. This is overriden
 # by individual lit.local.cfg files in the test subdirectories.
-config.suffixes = [".test", ".cpp", ".s", ".m", ".ll"]
+config.suffixes = [".test", ".cpp", ".s", ".m", ".ll", ".c"]
 
 # excludes: A list of directories to exclude from the testsuite. The 'Inputs'
 # subdirectories contain auxiliary inputs for various tests in their parent


        


More information about the lldb-commits mailing list