Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 1 | import os |
| 2 | |
Daniel Dunbar | 235aa41 | 2009-07-18 07:16:15 +0000 | [diff] [blame] | 3 | import buildbot |
| 4 | import buildbot.process.factory |
| 5 | from buildbot.steps.source import SVN |
Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 6 | from buildbot.steps.shell import Configure, ShellCommand |
| 7 | from buildbot.steps.shell import WarningCountingShellCommand |
| 8 | from buildbot.steps.transfer import FileDownload |
Daniel Dunbar | 235aa41 | 2009-07-18 07:16:15 +0000 | [diff] [blame] | 9 | from buildbot.process.properties import WithProperties |
| 10 | |
Daniel Dunbar | 235aa41 | 2009-07-18 07:16:15 +0000 | [diff] [blame] | 11 | from zorg.buildbot.commands.ClangTestCommand import ClangTestCommand |
Daniel Dunbar | b51f6ab | 2009-11-09 03:09:23 +0000 | [diff] [blame] | 12 | from zorg.buildbot.commands.BatchFileDownload import BatchFileDownload |
Daniel Dunbar | 235aa41 | 2009-07-18 07:16:15 +0000 | [diff] [blame] | 13 | |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 14 | from Util import getConfigArgs |
| 15 | |
Daniel Dunbar | 3efb782 | 2010-02-26 19:20:00 +0000 | [diff] [blame] | 16 | def getClangBuildFactory(triple=None, clean=True, test=True, package_dst=None, |
| 17 | run_cxx_tests=False, examples=False, valgrind=False, |
Daniel Dunbar | a1bebce | 2010-03-21 01:24:00 +0000 | [diff] [blame] | 18 | valgrindLeakCheck=False, outOfDir=False, useTwoStage=False, |
Daniel Dunbar | 9870de3 | 2010-03-28 22:25:31 +0000 | [diff] [blame] | 19 | always_install=False, make='make', jobs="%(jobs)s", |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 20 | stage1_config='Debug', stage2_config='Release', |
| 21 | extra_configure_args=[]): |
| 22 | # Don't use in-dir builds with a two stage build process. |
Daniel Dunbar | 3efb782 | 2010-02-26 19:20:00 +0000 | [diff] [blame] | 23 | inDir = not outOfDir and not useTwoStage |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 24 | if inDir: |
| 25 | llvm_srcdir = "llvm" |
| 26 | llvm_1_objdir = "llvm" |
Daniel Dunbar | 9870de3 | 2010-03-28 22:25:31 +0000 | [diff] [blame] | 27 | if always_install: |
| 28 | llvm_1_installdir = "llvm.install" |
| 29 | else: |
| 30 | llvm_1_installdir = None |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 31 | else: |
| 32 | llvm_srcdir = "llvm.src" |
| 33 | llvm_1_objdir = "llvm.obj" |
| 34 | llvm_1_installdir = "llvm.install.1" |
| 35 | llvm_2_objdir = "llvm.obj.2" |
Daniel Dunbar | 3efb782 | 2010-02-26 19:20:00 +0000 | [diff] [blame] | 36 | llvm_2_installdir = "llvm.install.2" |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 37 | |
Daniel Dunbar | 235aa41 | 2009-07-18 07:16:15 +0000 | [diff] [blame] | 38 | f = buildbot.process.factory.BuildFactory() |
Daniel Dunbar | b51f6ab | 2009-11-09 03:09:23 +0000 | [diff] [blame] | 39 | |
| 40 | # Determine the build directory. |
| 41 | f.addStep(buildbot.steps.shell.SetProperty(name="get_builddir", |
| 42 | command=["pwd"], |
| 43 | property="builddir", |
| 44 | description="set build dir", |
| 45 | workdir=".")) |
| 46 | |
| 47 | # Checkout sources. |
Daniel Dunbar | 235aa41 | 2009-07-18 07:16:15 +0000 | [diff] [blame] | 48 | f.addStep(SVN(name='svn-llvm', |
| 49 | mode='update', baseURL='http://llvm.org/svn/llvm-project/llvm/', |
| 50 | defaultBranch='trunk', |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 51 | workdir=llvm_srcdir)) |
Daniel Dunbar | 235aa41 | 2009-07-18 07:16:15 +0000 | [diff] [blame] | 52 | f.addStep(SVN(name='svn-clang', |
Daniel Dunbar | 7e959c8 | 2009-09-28 04:01:19 +0000 | [diff] [blame] | 53 | mode='update', baseURL='http://llvm.org/svn/llvm-project/cfe/', |
Daniel Dunbar | 235aa41 | 2009-07-18 07:16:15 +0000 | [diff] [blame] | 54 | defaultBranch='trunk', |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 55 | workdir='%s/tools/clang' % llvm_srcdir)) |
Daniel Dunbar | fa0e022 | 2009-11-09 06:08:28 +0000 | [diff] [blame] | 56 | |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 57 | # Clean up llvm (stage 1); unless in-dir. |
| 58 | if clean and llvm_srcdir != llvm_1_objdir: |
| 59 | f.addStep(ShellCommand(name="rm-llvm.obj.stage1", |
| 60 | command=["rm", "-rf", llvm_1_objdir], |
| 61 | haltOnFailure=True, |
| 62 | description=["rm build dir", "llvm"], |
| 63 | workdir=".")) |
| 64 | |
Daniel Dunbar | fa0e022 | 2009-11-09 06:08:28 +0000 | [diff] [blame] | 65 | # Force without llvm-gcc so we don't run afoul of Frontend test failures. |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 66 | base_configure_args = [WithProperties("%%(builddir)s/%s/configure" % llvm_srcdir), |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 67 | '--disable-bindings'] |
| 68 | base_configure_args += extra_configure_args |
Daniel Dunbar | fa0e022 | 2009-11-09 06:08:28 +0000 | [diff] [blame] | 69 | if triple: |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 70 | base_configure_args += ['--build=%s' % triple, |
| 71 | '--host=%s' % triple, |
| 72 | '--target=%s' % triple] |
| 73 | args = base_configure_args + ["--without-llvmgcc", "--without-llvmgxx"] |
Daniel Dunbar | 3efb782 | 2010-02-26 19:20:00 +0000 | [diff] [blame] | 74 | args.append(WithProperties("--prefix=%%(builddir)s/%s" % llvm_1_installdir)) |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 75 | args += getConfigArgs(stage1_config) |
| 76 | f.addStep(Configure(command=args, |
| 77 | workdir=llvm_1_objdir, |
| 78 | description=['configuring',stage1_config], |
| 79 | descriptionDone=['configure',stage1_config])) |
| 80 | |
| 81 | # Make clean if using in-dir builds. |
| 82 | if clean and llvm_srcdir == llvm_1_objdir: |
Daniel Dunbar | b51f6ab | 2009-11-09 03:09:23 +0000 | [diff] [blame] | 83 | f.addStep(WarningCountingShellCommand(name="clean-llvm", |
Daniel Dunbar | d20468a | 2009-11-24 18:27:23 +0000 | [diff] [blame] | 84 | command=[make, "clean"], |
Daniel Dunbar | b51f6ab | 2009-11-09 03:09:23 +0000 | [diff] [blame] | 85 | haltOnFailure=True, |
| 86 | description="cleaning llvm", |
| 87 | descriptionDone="clean llvm", |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 88 | workdir=llvm_1_objdir)) |
| 89 | |
Daniel Dunbar | 7e959c8 | 2009-09-28 04:01:19 +0000 | [diff] [blame] | 90 | f.addStep(WarningCountingShellCommand(name="compile", |
Daniel Dunbar | d20468a | 2009-11-24 18:27:23 +0000 | [diff] [blame] | 91 | command=['nice', '-n', '10', |
| 92 | make, WithProperties("-j%s" % jobs)], |
Daniel Dunbar | 7e959c8 | 2009-09-28 04:01:19 +0000 | [diff] [blame] | 93 | haltOnFailure=True, |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 94 | description=["compiling", stage1_config], |
| 95 | descriptionDone=["compile", stage1_config], |
| 96 | workdir=llvm_1_objdir)) |
Daniel Dunbar | 256fed4 | 2009-11-25 21:11:08 +0000 | [diff] [blame] | 97 | |
| 98 | if examples: |
| 99 | f.addStep(WarningCountingShellCommand(name="compile.examples", |
| 100 | command=['nice', '-n', '10', |
| 101 | make, WithProperties("-j%s" % jobs), |
| 102 | "BUILD_EXAMPLES=1"], |
| 103 | haltOnFailure=True, |
| 104 | description=["compilinge", stage1_config, "examples"], |
| 105 | descriptionDone=["compile", stage1_config, "examples"], |
| 106 | workdir=llvm_1_objdir)) |
| 107 | |
Daniel Dunbar | fa0e022 | 2009-11-09 06:08:28 +0000 | [diff] [blame] | 108 | clangTestArgs = '-v' |
| 109 | if valgrind: |
| 110 | clangTestArgs += ' --vg ' |
Daniel Dunbar | a1bebce | 2010-03-21 01:24:00 +0000 | [diff] [blame] | 111 | if valgrindLeakCheck: |
| 112 | clangTestArgs += ' --vg-leak' |
| 113 | else: |
| 114 | clangTestArgs += ' --vg-arg --leak-check=no' |
Daniel Dunbar | fa0e022 | 2009-11-09 06:08:28 +0000 | [diff] [blame] | 115 | clangTestArgs += ' --vg-arg --suppressions=%(builddir)s/llvm/tools/clang/utils/valgrind/x86_64-pc-linux-gnu_gcc-4.3.3.supp' |
| 116 | extraTestDirs = '' |
| 117 | if run_cxx_tests: |
| 118 | extraTestDirs += '%(builddir)s/llvm/tools/clang/utils/C++Tests' |
Daniel Dunbar | b51f6ab | 2009-11-09 03:09:23 +0000 | [diff] [blame] | 119 | if test: |
| 120 | f.addStep(ClangTestCommand(name='test-llvm', |
Daniel Dunbar | d20468a | 2009-11-24 18:27:23 +0000 | [diff] [blame] | 121 | command=[make, "check-lit", "VERBOSE=1"], |
Daniel Dunbar | b51f6ab | 2009-11-09 03:09:23 +0000 | [diff] [blame] | 122 | description=["testing", "llvm"], |
| 123 | descriptionDone=["test", "llvm"], |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 124 | workdir=llvm_1_objdir)) |
Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 125 | f.addStep(ClangTestCommand(name='test-clang', |
Daniel Dunbar | d20468a | 2009-11-24 18:27:23 +0000 | [diff] [blame] | 126 | command=[make, 'test', WithProperties('TESTARGS=%s' % clangTestArgs), |
Daniel Dunbar | fa0e022 | 2009-11-09 06:08:28 +0000 | [diff] [blame] | 127 | WithProperties('EXTRA_TESTDIRS=%s' % extraTestDirs)], |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 128 | workdir='%s/tools/clang' % llvm_1_objdir)) |
| 129 | |
| 130 | # Install llvm and clang. |
| 131 | if llvm_1_installdir: |
Daniel Dunbar | 9870de3 | 2010-03-28 22:25:31 +0000 | [diff] [blame] | 132 | f.addStep(ShellCommand(name="rm-install.clang.stage1", |
| 133 | command=["rm", "-rf", llvm_1_installdir], |
| 134 | haltOnFailure=True, |
| 135 | description=["rm install dir", "clang"], |
| 136 | workdir=".")) |
| 137 | f.addStep(WarningCountingShellCommand(name="install.clang.stage1", |
| 138 | command = ['nice', '-n', '10', |
| 139 | make, 'install-clang'], |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 140 | haltOnFailure=True, |
Daniel Dunbar | 9870de3 | 2010-03-28 22:25:31 +0000 | [diff] [blame] | 141 | description=["install", "clang", |
| 142 | stage1_config], |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 143 | workdir=llvm_1_objdir)) |
| 144 | |
| 145 | if not useTwoStage: |
| 146 | return f |
| 147 | |
| 148 | # Clean up llvm (stage 2). |
| 149 | if clean: |
| 150 | f.addStep(ShellCommand(name="rm-llvm.obj.stage2", |
| 151 | command=["rm", "-rf", llvm_2_objdir], |
| 152 | haltOnFailure=True, |
| 153 | description=["rm build dir", "llvm", "(stage 2)"], |
| 154 | workdir=".")) |
| 155 | |
| 156 | # Configure llvm (stage 2). |
| 157 | args = base_configure_args + ["--without-llvmgcc", "--without-llvmgxx"] |
Daniel Dunbar | 3efb782 | 2010-02-26 19:20:00 +0000 | [diff] [blame] | 158 | args.append(WithProperties("--prefix=%(builddir)s/" + llvm_2_installdir)) |
Daniel Dunbar | 8a89a6f | 2009-11-25 04:27:32 +0000 | [diff] [blame] | 159 | args += getConfigArgs(stage2_config) |
| 160 | f.addStep(Configure(name="configure.llvm.stage2", |
| 161 | command=args, |
| 162 | env={'CC' : WithProperties("%%(builddir)s/%s/bin/clang" % llvm_1_installdir), |
| 163 | 'CXX' : WithProperties("%%(builddir)s/%s/bin/clang++" % llvm_1_installdir),}, |
| 164 | haltOnFailure=True, |
| 165 | workdir=llvm_2_objdir, |
| 166 | description=["configure", "llvm", "(stage 2)", |
| 167 | stage2_config])) |
| 168 | |
| 169 | # Build llvm (stage 2). |
| 170 | f.addStep(WarningCountingShellCommand(name="compile.llvm.stage2", |
| 171 | command=['nice', '-n', '10', |
| 172 | make, WithProperties("-j%s" % jobs)], |
| 173 | haltOnFailure=True, |
| 174 | description=["compiling", "(stage 2)", |
| 175 | stage2_config], |
| 176 | descriptionDone=["compile", "(stage 2)", |
| 177 | stage2_config], |
| 178 | workdir=llvm_2_objdir)) |
| 179 | |
| 180 | if test: |
| 181 | f.addStep(ClangTestCommand(name='test-llvm', |
| 182 | command=[make, "check-lit", "VERBOSE=1"], |
| 183 | description=["testing", "llvm"], |
| 184 | descriptionDone=["test", "llvm"], |
| 185 | workdir=llvm_2_objdir)) |
| 186 | f.addStep(ClangTestCommand(name='test-clang', |
| 187 | command=[make, 'test', WithProperties('TESTARGS=%s' % clangTestArgs), |
| 188 | WithProperties('EXTRA_TESTDIRS=%s' % extraTestDirs)], |
| 189 | workdir='%s/tools/clang' % llvm_2_objdir)) |
| 190 | |
Daniel Dunbar | 3efb782 | 2010-02-26 19:20:00 +0000 | [diff] [blame] | 191 | # Install clang (stage 2). |
Daniel Dunbar | 9870de3 | 2010-03-28 22:25:31 +0000 | [diff] [blame] | 192 | f.addStep(ShellCommand(name="rm-install.clang.stage2", |
| 193 | command=["rm", "-rf", llvm_2_installdir], |
| 194 | haltOnFailure=True, |
| 195 | description=["rm install dir", "clang"], |
| 196 | workdir=".")) |
Daniel Dunbar | 3efb782 | 2010-02-26 19:20:00 +0000 | [diff] [blame] | 197 | f.addStep(WarningCountingShellCommand(name="install.clang.stage2", |
| 198 | command = ['nice', '-n', '10', |
| 199 | make, 'install-clang'], |
| 200 | haltOnFailure=True, |
| 201 | description=["install", "clang", |
| 202 | "(stage 2)"], |
| 203 | workdir=llvm_2_objdir)) |
| 204 | |
| 205 | if package_dst: |
| 206 | name = WithProperties( |
| 207 | "%(builddir)s/" + llvm_2_objdir + |
| 208 | "/clang-r%(got_revision)s-b%(buildnumber)s.tgz") |
| 209 | f.addStep(ShellCommand(name='pkg.tar', |
| 210 | description="tar root", |
| 211 | command=["tar", "zcvf", name, "./"], |
| 212 | workdir=llvm_2_installdir, |
| 213 | warnOnFailure=True, |
| 214 | flunkOnFailure=False, |
| 215 | haltOnFailure=False)) |
| 216 | f.addStep(ShellCommand(name='pkg.upload', |
| 217 | description="upload root", |
| 218 | command=["scp", name, |
| 219 | WithProperties( |
| 220 | package_dst + "/%(buildername)s")], |
| 221 | workdir=".", |
| 222 | warnOnFailure=True, |
| 223 | flunkOnFailure=False, |
| 224 | haltOnFailure=False)) |
| 225 | |
Daniel Dunbar | 235aa41 | 2009-07-18 07:16:15 +0000 | [diff] [blame] | 226 | return f |
Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 227 | |
Daniel Dunbar | b51f6ab | 2009-11-09 03:09:23 +0000 | [diff] [blame] | 228 | def getClangMSVCBuildFactory(update=True, clean=True, vcDrive='c', jobs=1): |
Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 229 | f = buildbot.process.factory.BuildFactory() |
| 230 | |
Daniel Dunbar | b51f6ab | 2009-11-09 03:09:23 +0000 | [diff] [blame] | 231 | if update: |
Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 232 | f.addStep(SVN(name='svn-llvm', |
| 233 | mode='update', baseURL='http://llvm.org/svn/llvm-project/llvm/', |
| 234 | defaultBranch='trunk', |
| 235 | workdir='llvm')) |
| 236 | |
Daniel Dunbar | b51f6ab | 2009-11-09 03:09:23 +0000 | [diff] [blame] | 237 | if update: |
Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 238 | f.addStep(SVN(name='svn-clang', |
Daniel Dunbar | 7e959c8 | 2009-09-28 04:01:19 +0000 | [diff] [blame] | 239 | mode='update', baseURL='http://llvm.org/svn/llvm-project/cfe/', |
Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 240 | defaultBranch='trunk', |
| 241 | workdir='llvm/tools/clang')) |
| 242 | |
| 243 | # Full & fast clean. |
Daniel Dunbar | b51f6ab | 2009-11-09 03:09:23 +0000 | [diff] [blame] | 244 | if clean: |
Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 245 | f.addStep(ShellCommand(name='clean-1', |
| 246 | command=['del','/s/q','build'], |
Daniel Dunbar | 7e959c8 | 2009-09-28 04:01:19 +0000 | [diff] [blame] | 247 | warnOnFailure=True, |
Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 248 | description='cleaning', |
| 249 | descriptionDone='clean', |
| 250 | workdir='llvm')) |
| 251 | f.addStep(ShellCommand(name='clean-2', |
| 252 | command=['rmdir','/s/q','build'], |
Daniel Dunbar | 7e959c8 | 2009-09-28 04:01:19 +0000 | [diff] [blame] | 253 | warnOnFailure=True, |
Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 254 | description='cleaning', |
| 255 | descriptionDone='clean', |
| 256 | workdir='llvm')) |
| 257 | |
| 258 | # Create the project files. |
Daniel Dunbar | 7e959c8 | 2009-09-28 04:01:19 +0000 | [diff] [blame] | 259 | |
Daniel Dunbar | b51f6ab | 2009-11-09 03:09:23 +0000 | [diff] [blame] | 260 | # Use batch files instead of ShellCommand directly, Windows quoting is |
| 261 | # borked. FIXME: See buildbot ticket #595 and buildbot ticket #377. |
| 262 | f.addStep(BatchFileDownload(name='cmakegen', |
| 263 | command=[r"c:\Program Files\CMake 2.6\bin\cmake", |
| 264 | "-DLLVM_TARGETS_TO_BUILD:=X86", |
| 265 | "-G", |
| 266 | "Visual Studio 9 2008", |
| 267 | ".."], |
| 268 | workdir="llvm\\build")) |
Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 269 | f.addStep(ShellCommand(name='cmake', |
| 270 | command=['cmakegen.bat'], |
Daniel Dunbar | 7e959c8 | 2009-09-28 04:01:19 +0000 | [diff] [blame] | 271 | haltOnFailure=True, |
Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 272 | description='cmake gen', |
| 273 | workdir='llvm\\build')) |
| 274 | |
| 275 | # Build it. |
Daniel Dunbar | b51f6ab | 2009-11-09 03:09:23 +0000 | [diff] [blame] | 276 | f.addStep(BatchFileDownload(name='vcbuild', |
| 277 | command=[vcDrive + r""":\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages\vcbuild.exe""", |
| 278 | "/M%d" % jobs, |
| 279 | "LLVM.sln", |
| 280 | "Debug|Win32"], |
| 281 | workdir="llvm\\build")) |
Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 282 | f.addStep(WarningCountingShellCommand(name='vcbuild', |
| 283 | command=['vcbuild.bat'], |
Daniel Dunbar | 7e959c8 | 2009-09-28 04:01:19 +0000 | [diff] [blame] | 284 | haltOnFailure=True, |
Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 285 | description='vcbuild', |
| 286 | workdir='llvm\\build', |
| 287 | warningPattern=" warning C.*:")) |
Daniel Dunbar | b51f6ab | 2009-11-09 03:09:23 +0000 | [diff] [blame] | 288 | |
| 289 | # Build clang-test project. |
| 290 | f.addStep(BatchFileDownload(name='vcbuild_test', |
| 291 | command=[vcDrive + r""":\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages\vcbuild.exe""", |
| 292 | "clang-test.vcproj", |
| 293 | "Debug|Win32"], |
| 294 | workdir="llvm\\build\\tools\\clang\\test")) |
| 295 | f.addStep(ClangTestCommand(name='test-clang', |
| 296 | command=["vcbuild_test.bat"], |
| 297 | workdir="llvm\\build\\tools\\clang\\test")) |
| 298 | |
Daniel Dunbar | 44abe74 | 2009-07-19 01:59:03 +0000 | [diff] [blame] | 299 | return f |