Add Darwin 13.4 x86_64 builder and slave
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Update LLDBxcodebuildFactory to handle first test failure and lldb symbol not found problem
| zorg/buildbot/builders/LLDBBuilder.py | ||
|---|---|---|
| 386 ↗ | (On Diff #20727) | haltOnFailure=True ? |
| 409 ↗ | (On Diff #20727) | Isn't there an equivalent of nina/make check-lldb for Darwin? |
| 413 ↗ | (On Diff #20727) | Instead of a single string setting the environment and invoking dosep, you can specify the enivorment in kwargs to LiTestCommand. So, you can remove testCmd and have something like this: f.addStep(LitTestCommand(name='lldb-test',
command=[<the list with dosep command args>],
haltOnFailure=True,
workdir='%s/test' % lldb_srcdir,
env={'DYLD_FRAMEWORK_PATH' : WithProperties('%(lldb_bindir)s')}))Please do test that this works. |
Set haltOnFailure=True for second build, use env to export shell environment variable
LGTM with a nit.
| zorg/buildbot/builders/LLDBBuilder.py | ||
|---|---|---|
| 408 ↗ | (On Diff #20817) | Ah! This should be split into multiple list elements. |
| zorg/buildbot/builders/LLDBBuilder.py | ||
|---|---|---|
| 408 ↗ | (On Diff #20817) | Ying explained off list that this set of options are actually form a single argument to '--options'. In which case, a more readable approach is probably: comma=['./dosep.py',
'--options',
' '.join(['-m',
'--executable', WithProperties('%(lldb_buildir)s/lldb'),
'--framework', WithProperties('%(lldb_bindir)s/LLDB.framework'),
'-A', 'x86_64', '-C', 'clang',
'-s', '../DerivedData/lldb-test-results'])]But, I leave it up to Ying. Feel free to submit as is. |