From 8ae19f74c3edc29716763be0bcfa401ed686fa37 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Mon, 27 Jan 2014 22:50:20 +0000 Subject: [PATCH] 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. llvm-svn: 200258 --- clang/test/lit.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/test/lit.cfg b/clang/test/lit.cfg index b6681e8ab19c..7f2d9eaf8725 100644 --- a/clang/test/lit.cfg +++ b/clang/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)) )