From: Adrian Prantl Date: Mon, 27 Jan 2014 22:50:20 +0000 (+0000) Subject: Rumors of test_debuginfo's death are slightly exaggerated. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d81cc1256406cbeeca912c73dbd2d1346d7bba7;p=clang Rumors of test_debuginfo's death are slightly exaggerated. Revert "Revert r113780, "Recognize .ll as input files. Handle %test_debuginfo on a RUN command line."" This reverts commit r200145. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200258 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lit.cfg b/test/lit.cfg index b6681e8ab1..7f2d9eaf87 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', '.cl', '.s'] +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 @@ -263,6 +263,7 @@ config.substitutions.append( ('%clang_cl', ' ' + config.clang + config.substitutions.append( ('%clangxx', ' ' + config.clang + ' --driver-mode=g++ ')) config.substitutions.append( ('%clang', ' ' + config.clang + ' ') ) +config.substitutions.append( ('%test_debuginfo', ' ' + config.llvm_src_root + '/utils/test_debuginfo.pl ') ) config.substitutions.append( ('%itanium_abi_triple', makeItaniumABITriple(config.target_triple)) ) config.substitutions.append( ('%ms_abi_triple', makeMSABITriple(config.target_triple)) )