[llvm-bugs] [Bug 40593] New: Test case clangd/background-index.test fails when path contains special characters

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 4 10:36:04 PST 2019


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

            Bug ID: 40593
           Summary: Test case clangd/background-index.test fails when path
                    contains special characters
           Product: clang-tools-extra
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: clangd
          Assignee: unassignedclangbugs at nondot.org
          Reporter: amy.kwan1 at ibm.com
                CC: llvm-bugs at lists.llvm.org

The following test case exhibits failures on PowerPC: 

        Clang Tools :: clangd/background-index.test 

This test was introduced in https://reviews.llvm.org/rL347567. 
It checks for paths to files that are produced. The failures occur when the
path to the files contain special characters, such as '+'. 

Due to paths with these characters, the clangd test case will not recognize
them because there is a CHECK: "uri" string. The CHECK string, for example,
will expect a path with the directory named "build+dir", but the actual input
is instead "build%2Bdir". Special characters such as '+' is being escaped in
the actual URI input so it will result a failure.

-- 
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/20190204/e2f540a4/attachment.html>


More information about the llvm-bugs mailing list