[lldb-dev] [Bug 24490] New: Tests should not run expressions that reference platform-specific symbols

via lldb-dev lldb-dev at lists.llvm.org
Tue Aug 18 11:03:45 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24490

            Bug ID: 24490
           Summary: Tests should not run expressions that reference
                    platform-specific symbols
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: zturner at google.com
                CC: llvm-bugs at lists.llvm.org
            Blocks: 21766
    Classification: Unclassified

Examples of tests that do this are:

TestCPPThis.py (calls getpid which is not on Windows)
TestExprs2 (uses the global variable environ, which is not on Windows)
TestConstVariables.py (also calls getpid)

The implementations of these tests should be changed so that they either do not
reference platform specific functions, or the test should detect the platform
and call the appropriate function.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150818/590d2bbf/attachment.html>


More information about the lldb-dev mailing list