1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

llvm-lit may be able to invoke clang tests.

llvm-svn: 125167
This commit is contained in:
NAKAMURA Takumi 2011-02-09 04:17:54 +00:00
parent 246438db0f
commit 7edb109ae3

View File

@ -16,6 +16,10 @@ builtin_parameters = {
'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)