[PATCH] D89529: [clangd][remote] Add Windows paths support

Aleksandr Platonov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 16 04:57:33 PDT 2020


ArcsinX added a comment.

Logs:

  D:\work\llvm-project\build>ninja check-clangd
  [6/7] Running the Clangd regression tests
  llvm-lit.py: D:\work\llvm-project\build\bin\..\..\llvm\utils\lit\lit\llvm\config.py:347: note: using clang: d:\work\llvm-project\build\bin\clang.exe
  -- Testing: 905 tests, 8 workers --
  Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
  FAIL: Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.IncludeHeaderURIs (665 of 905)
  ******************** TEST 'Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.IncludeHeaderURIs' FAILED ********************
  Note: Google Test filter = RemoteMarshallingTest.IncludeHeaderURIs
  [==========] Running 1 test from 1 test case.
  [----------] Global test environment set-up.
  [----------] 1 test from RemoteMarshallingTest
  [ RUN      ] RemoteMarshallingTest.IncludeHeaderURIs
  D:\work\llvm-project\clang-tools-extra\clangd\unittests\remote\MarshallingTests.cpp(256): error: Value of: bool(Serialized)
    Actual: false
  Expected: true
  [  FAILED  ] RemoteMarshallingTest.IncludeHeaderURIs (1 ms)
  [----------] 1 test from RemoteMarshallingTest (1 ms total)
  
  [----------] Global test environment tear-down
  [==========] 1 test from 1 test case ran. (1 ms total)
  [  PASSED  ] 0 tests.
  [  FAILED  ] 1 test, listed below:
  [  FAILED  ] RemoteMarshallingTest.IncludeHeaderURIs
  
   1 FAILED TEST
  
  ********************
  Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
  FAIL: Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.RefSerialization (666 of 905)
  ******************** TEST 'Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.RefSerialization' FAILED ********************
  Note: Google Test filter = RemoteMarshallingTest.RefSerialization
  [==========] Running 1 test from 1 test case.
  [----------] Global test environment set-up.
  [----------] 1 test from RemoteMarshallingTest
  [ RUN      ] RemoteMarshallingTest.RefSerialization
  D:\work\llvm-project\clang-tools-extra\clangd\unittests\remote\MarshallingTests.cpp(228): error: Value of: bool(Serialized)
    Actual: false
  Expected: true
  [  FAILED  ] RemoteMarshallingTest.RefSerialization (0 ms)
  [----------] 1 test from RemoteMarshallingTest (0 ms total)
  
  [----------] Global test environment tear-down
  [==========] 1 test from 1 test case ran. (0 ms total)
  [  PASSED  ] 0 tests.
  [  FAILED  ] 1 test, listed below:
  [  FAILED  ] RemoteMarshallingTest.RefSerialization
  
   1 FAILED TEST
  
  ********************
  Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
  FAIL: Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.URIToRelativePathTranslation (673 of 905)
  ******************** TEST 'Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.URIToRelativePathTranslation' FAILED ********************
  Note: Google Test filter = RemoteMarshallingTest.URIToRelativePathTranslation
  [==========] Running 1 test from 1 test case.
  [----------] Global test environment set-up.
  [----------] 1 test from RemoteMarshallingTest
  [ RUN      ] RemoteMarshallingTest.URIToRelativePathTranslation
  D:\work\llvm-project\clang-tools-extra\clangd\unittests\remote\MarshallingTests.cpp(436): error: Value of: bool(RelativePath)
    Actual: false
  Expected: true
  [  FAILED  ] RemoteMarshallingTest.URIToRelativePathTranslation (1 ms)
  [----------] 1 test from RemoteMarshallingTest (1 ms total)
  
  [----------] Global test environment tear-down
  [==========] 1 test from 1 test case ran. (1 ms total)
  [  PASSED  ] 0 tests.
  [  FAILED  ] 1 test, listed below:
  [  FAILED  ] RemoteMarshallingTest.URIToRelativePathTranslation
  
   1 FAILED TEST
  
  ********************
  Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
  FAIL: Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.RelationsSerializion (675 of 905)
  ******************** TEST 'Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.RelationsSerializion' FAILED ********************
  Note: Google Test filter = RemoteMarshallingTest.RelationsSerializion
  [==========] Running 1 test from 1 test case.
  [----------] Global test environment set-up.
  [----------] 1 test from RemoteMarshallingTest
  [ RUN      ] RemoteMarshallingTest.RelationsSerializion
  D:\work\llvm-project\clang-tools-extra\clangd\unittests\remote\MarshallingTests.cpp(407): error: Value of: bool(Serialized)
    Actual: false
  Expected: true
  [  FAILED  ] RemoteMarshallingTest.RelationsSerializion (0 ms)
  [----------] 1 test from RemoteMarshallingTest (0 ms total)
  
  [----------] Global test environment tear-down
  [==========] 1 test from 1 test case ran. (1 ms total)
  [  PASSED  ] 0 tests.
  [  FAILED  ] 1 test, listed below:
  [  FAILED  ] RemoteMarshallingTest.RelationsSerializion
  
   1 FAILED TEST
  
  ********************
  Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
  FAIL: Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.URITranslation (676 of 905)
  ******************** TEST 'Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.URITranslation' FAILED ********************
  Note: Google Test filter = RemoteMarshallingTest.URITranslation
  [==========] Running 1 test from 1 test case.
  [----------] Global test environment set-up.
  [----------] 1 test from RemoteMarshallingTest
  [ RUN      ] RemoteMarshallingTest.URITranslation
  D:\work\llvm-project\clang-tools-extra\clangd\unittests\remote\MarshallingTests.cpp(101): error: Value of: bool(Serialized)
    Actual: false
  Expected: true
  [  FAILED  ] RemoteMarshallingTest.URITranslation (1 ms)
  [----------] 1 test from RemoteMarshallingTest (1 ms total)
  
  [----------] Global test environment tear-down
  [==========] 1 test from 1 test case ran. (1 ms total)
  [  PASSED  ] 0 tests.
  [  FAILED  ] 1 test, listed below:
  [  FAILED  ] RemoteMarshallingTest.URITranslation
  
   1 FAILED TEST
  
  ********************
  Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
  FAIL: Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.SymbolSerialization (677 of 905)
  ******************** TEST 'Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.SymbolSerialization' FAILED ********************
  Note: Google Test filter = RemoteMarshallingTest.SymbolSerialization
  [==========] Running 1 test from 1 test case.
  [----------] Global test environment set-up.
  [----------] 1 test from RemoteMarshallingTest
  [ RUN      ] RemoteMarshallingTest.SymbolSerialization
  D:\work\llvm-project\clang-tools-extra\clangd\unittests\remote\MarshallingTests.cpp(154): error: Value of: bool(Serialized)
    Actual: false
  Expected: true
  [  FAILED  ] RemoteMarshallingTest.SymbolSerialization (1 ms)
  [----------] 1 test from RemoteMarshallingTest (1 ms total)
  
  [----------] Global test environment tear-down
  [==========] 1 test from 1 test case ran. (1 ms total)
  [  PASSED  ] 0 tests.
  [  FAILED  ] 1 test, listed below:
  [  FAILED  ] RemoteMarshallingTest.SymbolSerialization
  
   1 FAILED TEST
  
  ********************
  Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
  ********************
  Failed Tests (6):
    Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.IncludeHeaderURIs
    Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.RefSerialization
    Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.RelationsSerializion
    Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.SymbolSerialization
    Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.URIToRelativePathTranslation
    Clangd Unit Tests :: ./ClangdTests.exe/RemoteMarshallingTest.URITranslation
  
  
  Testing Time: 38.88s
    Unsupported:   7
    Passed     : 892
    Failed     :   6
  FAILED: tools/clang/tools/extra/clangd/test/CMakeFiles/check-clangd
  cmd.exe /C "cd /D D:\work\llvm-project\build\tools\clang\tools\extra\clangd\test && C:\Users\p00538580\AppData\Local\Programs\Python\Python38-32\python.exe D:/work/llvm-project/build/./bin/llvm-lit.py -sv D:/work/llvm-project/build/tools/clang/tools/extra/clangd/test/../unittests D:/work/llvm-project/build/tools/clang/tools/extra/clangd/test"
  ninja: build stopped: subcommand failed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89529/new/

https://reviews.llvm.org/D89529



More information about the cfe-commits mailing list