Ramki-Ravindran / thread-sanitizer

Automatically exported from code.google.com/p/thread-sanitizer
0 stars 0 forks source link

check-tsan doesn't work in ninja #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
$ cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON \
 -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ \
 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON /path/to/llvm -G Ninja
$ ninja check-tsan

What is the expected output? What do you see instead?
Failing Tests (7):
    ThreadSanitizer :: fd_close_norace.cc
    ThreadSanitizer :: fd_dup_norace.cc
    ThreadSanitizer :: fd_pipe_norace.cc
    ThreadSanitizer :: fd_socket_connect_norace.cc
    ThreadSanitizer :: fd_socket_norace.cc
    ThreadSanitizer :: fd_socketpair_norace.cc
    ThreadSanitizer :: ignore_race.cc

  Expected Passes    : 130
  Unexpected Failures: 7

All tests fail with:
--
FileCheck error: '-' is empty.
--

Original issue reported on code.google.com by samso...@google.com on 21 Dec 2012 at 9:00

GoogleCodeExporter commented 9 years ago
http://llvm.org/viewvc/llvm-project?rev=171034&view=rev

Original comment by dvyu...@google.com on 24 Dec 2012 at 2:17