[PATCH] D52840: Include Python binding tests in CMake rules

Ulrich Weigand via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 15 10:22:44 PDT 2018


uweigand added a comment.

This causes check-all to abort for me on SystemZ in Release mode (and never actually run the lit tests):

  [40/365] cd /home/uweigand/llvm/llvm-head/tools/clang/bindings/python && /usr/bin/cmake -E...BRARY_PATH=/home/uweigand/llvm/build/llvm-head/lib /usr/bin/python2.7 -m unittest discover
  FAILED: tools/clang/bindings/python/tests/CMakeFiles/check-clang-python 
  cd /home/uweigand/llvm/llvm-head/tools/clang/bindings/python && /usr/bin/cmake -E env CLANG_LIBRARY_PATH=/home/uweigand/llvm/build/llvm-head/lib /usr/bin/python2.7 -m unittest discover
  Invalid CXChildVisitResult!
  UNREACHABLE executed at /home/uweigand/llvm/llvm-head/tools/clang/tools/libclang/CIndex.cpp:233!
  Child aborted

When running in Debug mode I see instead:

  [165/536] cd /home/uweigand/llvm/llvm-head/tools/clang/bindings/python && /usr/bin/cmake -...PATH=/home/uweigand/llvm/build/llvm-head-debug/lib /usr/bin/python2.7 -m unittest discover
  ..............................................................LIBCLANG TOOLING ERROR: fixed-compilation-database: Error while opening fixed database: No such file or directory
  json-compilation-database: Error while opening JSON database: No such file or directory
  
  ..........................................................
  ----------------------------------------------------------------------
  Ran 120 tests in 8.522s
  
  OK

which apparently doesn't count as failure, but still doesn't look quite right to me.

Is this some environment setup problem, or does this expose a real bug?  It's certainly not good that running the remaining tests is completely aborted in Release mode ...


Repository:
  rC Clang

https://reviews.llvm.org/D52840





More information about the llvm-commits mailing list