[Lldb-commits] [lldb] r175942 - <rdar://problem/12362092>

Dmitri Gribenko gribozavr at gmail.com
Fri Feb 22 17:23:42 PST 2013


On Sat, Feb 23, 2013 at 3:05 AM, Enrico Granata <egranata at apple.com> wrote:
> Author: enrico
> Date: Fri Feb 22 19:05:23 2013
> New Revision: 175942
>
> URL: http://llvm.org/viewvc/llvm-project?rev=175942&view=rev
> Log:
> <rdar://problem/12362092>
>
> The decorators @expectedFailure (plain and special-case like i386, clang, ...) are modified to optionally take a bugnumber argument
> If such an argument is specified, the failure report (or unexpected success report) will include the information passed in as part of the message
> This is mostly useful for associating failures to issue IDs in issue management systems (e.g. the LLVM bugzilla)

Sorry, but it looks like this commit broke tests:

http://lab.llvm.org:8011/builders/lldb-x86_64-debian-clang/builds/390

Traceback (most recent call last):
  File "/home/llvmbb/llvm-build-dir/lldb-x86_64-clang/llvm/tools/lldb/test/dotest.py",
line 1096, in <module>
    os.path.walk(testdir, visit, 'Test')
  File "/usr/lib/python2.7/posixpath.py", line 238, in walk
    func(arg, top, names)
  File "/home/llvmbb/llvm-build-dir/lldb-x86_64-clang/llvm/tools/lldb/test/dotest.py",
line 1011, in visit
    suite.addTests(unittest2.defaultTestLoader.loadTestsFromName(base))
  File "/home/llvmbb/llvm-build-dir/lldb-x86_64-clang/llvm/tools/lldb/test/unittest2/loader.py",
line 111, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File "/home/llvmbb/llvm-build-dir/lldb-x86_64-clang/llvm/tools/lldb/test/lang/cpp/class_static/TestStaticVariables.py",
line 11, in <module>
    class StaticVariableTestCase(TestBase):
  File "/home/llvmbb/llvm-build-dir/lldb-x86_64-clang/llvm/tools/lldb/test/lang/cpp/class_static/TestStaticVariables.py",
line 34, in StaticVariableTestCase
    @dsym_test
  File "/home/llvmbb/llvm-build-dir/lldb-x86_64-clang/llvm/tools/lldb/test/lldbtest.py",
line 411, in expectedFailureGcc
    return expectedFailureCompiler(func, "gcc")
TypeError: expectedFailureCompiler() takes at most 1 argument (2 given)

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the lldb-commits mailing list