[zorg] r176028 - Update LLDB builder to parse test results

Galina Kistanova gkistanova at gmail.com
Mon Feb 25 10:01:22 PST 2013


Hi Daniel,

Got an exception on this change:
exceptions.NameError: global name 'LitTestCommand' is not defined

Please have a look.

Thanks

Galina



--- <exception caught here> ---
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/internet/defer.py",
line 545, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/buildbot/master.py",
line 226, in do_load
    exec f in localDict
  File "/Volumes/Macintosh
HD2/llvm.buildmaster/zorg/buildbot/osuosl/master/master.cfg", line 72, in
<module>
    c['builders'] = builders = list(config.builders.get_builders())
  File "/Volumes/Macintosh
HD2/llvm.buildmaster/zorg/buildbot/osuosl/master/config/builders.py", line
660, in get_builders
    for b in _get_lldb_builders():
  File "/Volumes/Macintosh
HD2/llvm.buildmaster/zorg/buildbot/osuosl/master/config/builders.py", line
563, in _get_lldb_builders

env={'PATH':'/home/llvmbb/bin/clang-latest/bin:/home/llvmbb/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'})},
  File "/Volumes/Macintosh
HD2/llvm.buildmaster/zorg/zorg/buildbot/builders/LLDBBuilder.py", line 91,
in getLLDBBuildFactory
    f.addStep(LitTestCommand(name="test lldb",
exceptions.NameError: global name 'LitTestCommand' is not defined

On Mon, Feb 25, 2013 at 8:31 AM, Daniel Malea <daniel.malea at intel.com>wrote:

> Author: dmalea
> Date: Mon Feb 25 10:31:42 2013
> New Revision: 176028
>
> URL: http://llvm.org/viewvc/llvm-project?rev=176028&view=rev
> Log:
> Update LLDB builder to parse test results
> - use LitTestCommand instead of ShellCommand to parse clang-like test
> result output
>
>
> Modified:
>     zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py
>
> Modified: zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py
> URL:
> http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py?rev=176028&r1=176027&r2=176028&view=diff
>
> ==============================================================================
> --- zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py (original)
> +++ zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py Mon Feb 25 10:31:42
> 2013
> @@ -87,22 +87,13 @@ def getLLDBBuildFactory(triple, outOfDir
>                                            haltOnFailure=True,
>                                            workdir=llvm_objdir))
>
> -    # The tests are hanging on Linux at the moment due to some "expect"
> -    # functionality not happening correctly. For now we will stub out the
> tests
> -    # so we can at least get builds running and reinstate the tests later.
> -
> -    # Fixup file needed for tests
> -    # f.addStep(ShellCommand(name"copy-gnu_libstdcpp.py",
> -    #                       command="cp
> tools/lldb/examples/synthetic/gnu_libstdcpp.py Debug+Asserts/bin",
> -    #                       workdir=llvm_srcdir))
> -
>      # Test.
> -    f.addStep(ShellCommand(name="test",
> -                           command=['nice', '-n', '10',
> -                                    'make'],
> -                           haltOnFailure=True, description="test lldb",
> -                           env=env,
> -                           workdir='%s/tools/lldb/test' % llvm_objdir))
> +    f.addStep(LitTestCommand(name="test lldb",
> +                             command=['nice', '-n', '10',
> +                                      'make'],
> +                             description="test lldb",
> +                             env=env,
> +                             workdir='%s/tools/lldb/test' % llvm_objdir))
>
>      return f
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130225/cf3e1eda/attachment.html>


More information about the llvm-commits mailing list