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

via llvm-bugs llvm-bugs 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 on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150818/f711b098/attachment-0001.html>


More information about the llvm-bugs mailing list