[llvm-commits] [llvm] r125167 - /llvm/trunk/utils/llvm-lit/llvm-lit.in
NAKAMURA Takumi
geek4civic at gmail.com
Tue Feb 8 20:17:54 PST 2011
Author: chapuni
Date: Tue Feb 8 22:17:54 2011
New Revision: 125167
URL: http://llvm.org/viewvc/llvm-project?rev=125167&view=rev
Log:
llvm-lit may be able to invoke clang tests.
Modified:
llvm/trunk/utils/llvm-lit/llvm-lit.in
Modified: llvm/trunk/utils/llvm-lit/llvm-lit.in
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/llvm-lit/llvm-lit.in?rev=125167&r1=125166&r2=125167&view=diff
==============================================================================
--- llvm/trunk/utils/llvm-lit/llvm-lit.in (original)
+++ llvm/trunk/utils/llvm-lit/llvm-lit.in Tue Feb 8 22:17:54 2011
@@ -16,6 +16,10 @@
'llvm_site_config' : os.path.join(llvm_obj_root, 'test', 'lit.site.cfg')
}
+clang_site_config = os.path.join(llvm_obj_root, 'tools', 'clang', 'test', 'lit.site.cfg')
+if os.path.exists(clang_site_config):
+ builtin_parameters['clang_site_config'] = clang_site_config
+
if __name__=='__main__':
import lit
lit.main(builtin_parameters)
More information about the llvm-commits
mailing list