[cfe-dev] clang-tidy test failures

Csaba Raduly rcsaba at gmail.com
Mon Sep 22 00:58:13 PDT 2014


svn  update /home/csaba/workspace/LLVM/llvm
Updating '/home/csaba/workspace/LLVM/llvm':
At revision 218237.
Updating '/home/csaba/workspace/LLVM/llvm/projects/compiler-rt':
At revision 218237.
Updating '/home/csaba/workspace/LLVM/llvm/tools/clang':
At revision 218237.
Updating '/home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra':
At revision 218237.
Updating '/home/csaba/workspace/LLVM/llvm/tools/clang/tools/include-what-you-use':
At revision 582.
Summary of updates:
  Updated '/home/csaba/workspace/LLVM/llvm/projects/compiler-rt' to r218237.
  Updated '/home/csaba/workspace/LLVM/llvm/tools/clang' to r218237.
  Updated '/home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra' to r218237.
  Updated '/home/csaba/workspace/LLVM/llvm/tools/clang/tools/include-what-you-use'
to r582.

...

FAIL: Clang Tools :: clang-tidy/avoid-c-style-casts.c (6538 of 19474)
******************** TEST 'Clang Tools ::
clang-tidy/avoid-c-style-casts.c' FAILED ********************
Script:
--
$(dirname /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/test/clang-tidy/avoid-c-style-casts.c)/check_clang_tidy_fix.sh
/home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/test/clang-tidy/avoid-c-style-casts.c
google-readability-casting
/home/csaba/workspace/LLVM/build/tools/clang/tools/extra/test/clang-tidy/Output/avoid-c-style-casts.c.tmp
-x c
--
Exit Code: 1

Command Output (stderr):
--
/home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/test/clang-tidy/check_clang_tidy_fix.sh:
18: /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/test/clang-tidy/check_clang_tidy_fix.sh:
2: not found
/home/csaba/workspace/LLVM/build/tools/clang/tools/extra/test/clang-tidy/Output/avoid-c-style-casts.c.tmp.cpp.msg:7:123:
error: CHECK-MESSAGES-NOT: string occurred!
/home/csaba/workspace/LLVM/build/tools/clang/tools/extra/test/clang-tidy/Output/avoid-c-style-casts.c.tmp.cpp:8:14:
warning: C-style casts are discouraged. Use const_cast.
[google-readability-casting]

                                                   ^
command line:1:22: note: CHECK-MESSAGES-NOT: pattern specified here
-implicit-check-not='{{warning|error}}:'
                     ^

--

********************
FAIL: Clang Tools :: clang-tidy/llvm-include-order.cpp (6557 of 19474)
******************** TEST 'Clang Tools ::
clang-tidy/llvm-include-order.cpp' FAILED ********************
Script:
--
$(dirname /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/test/clang-tidy/llvm-include-order.cpp)/check_clang_tidy_fix.sh
/home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/test/clang-tidy/llvm-include-order.cpp
llvm-include-order
/home/csaba/workspace/LLVM/build/tools/clang/tools/extra/test/clang-tidy/Output/llvm-include-order.cpp.tmp
-isystem /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/test/clang-tidy/Inputs/Headers
--
Exit Code: 1

Command Output (stderr):
--
/home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/test/clang-tidy/check_clang_tidy_fix.sh:
18: /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/test/clang-tidy/check_clang_tidy_fix.sh:
2: not found
/home/csaba/workspace/LLVM/build/tools/clang/tools/extra/test/clang-tidy/Output/llvm-include-order.cpp.tmp.cpp.msg:1:124:
error: CHECK-MESSAGES-NOT: string occurred!
/home/csaba/workspace/LLVM/build/tools/clang/tools/extra/test/clang-tidy/Output/llvm-include-order.cpp.tmp.cpp:8:10:
error: 'j.h' file not found [clang-diagnostic-error]

                                                    ^
command line:1:22: note: CHECK-MESSAGES-NOT: pattern specified here
-implicit-check-not='{{warning|error}}:'
                     ^

--

********************
Testing Time: 80.93s
********************
Failing Tests (2):
    Clang Tools :: clang-tidy/avoid-c-style-casts.c
    Clang Tools :: clang-tidy/llvm-include-order.cpp


-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds



More information about the cfe-dev mailing list