llvm-lit may be available with CMake.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 9 Feb 2011 04:18:02 +0000 (04:18 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 9 Feb 2011 04:18:02 +0000 (04:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125168 91177308-0d34-0410-b5e6-96231b3b80d8

utils/llvm-lit/llvm-lit.in [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index a16e664..1df1747
@@ -13,6 +13,8 @@ sys.path.append(os.path.join(llvm_source_root, 'utils', 'lit'))
 # Set up some builtin parameters, so that by default the LLVM test suite
 # configuration file knows how to find the object tree.
 builtin_parameters = {
+    'build_config' : "@CMAKE_CFG_INTDIR@",
+    'build_mode' : "@RUNTIME_BUILD_MODE@",
     'llvm_site_config' : os.path.join(llvm_obj_root, 'test', 'lit.site.cfg')
     }