[lldb-dev] test decorator working on linux, but not on windows

Zachary Turner via lldb-dev lldb-dev at lists.llvm.org
Fri Jan 6 10:17:29 PST 2017


You will probably need to debug the python code to figure out why this is
happening.  Start with this line in
lldb/packages/Python/lldbsuite/test/decorators.py
def _decorateTest(mode,
                  bugnumber=None, oslist=None, hostoslist=None,
                  compiler=None, compiler_version=None,
                  archs=None, triple=None,
                  debug_info=None,
                  swig_version=None, py_version=None,
                  macos_version=None,
                  remote=None):
...
        skip_for_compiler = _match_decorator_property(
            compiler, self.getCompiler()) and
self.expectedCompilerVersion(compiler_version)


On Fri, Jan 6, 2017 at 10:11 AM Ted Woodward via lldb-dev <
lldb-dev at lists.llvm.org> wrote:

> packages/Python/lldbsuite/test/lang/c/typedef/Testtypedef.py has this
> decorator:
>
>
>
>     @expectedFailureAll(compiler="clang", bugnumber="llvm.org/pr19238")
>
>
>
> On Linux, I’m building with hexagon-clang, and this decorator fires, so
> the test is xfailed.
>
> On Windows, I’m building with hexagon-clang.exe, and this decorator is
> evidently not firing, because the test fails instead of being xfailed.
>
>
>
> Linux is using Python 2.7.8. Windows is using Python 3.5.1.
>
>
>
> --
>
> Qualcomm Innovation Center, Inc.
>
> The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a
> Linux Foundation Collaborative Project
>
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170106/a4482a3f/attachment.html>


More information about the lldb-dev mailing list