Skip to content

Instantly share code, notes, and snippets.

@rui314
Last active April 26, 2017 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rui314/ef9cc0845131eb6e5e1e00912aefa2b5 to your computer and use it in GitHub Desktop.
Save rui314/ef9cc0845131eb6e5e1e00912aefa2b5 to your computer and use it in GitHub Desktop.
$ ninja check{,-clang,-lld}
[1408/1417] Running the LLVM regression tests
Testing Time: 108.73s
Expected Passes : 19890
Expected Failures : 137
Unsupported Tests : 404
[1416/1417] Running lld test suite
Testing Time: 9.48s
Expected Passes : 1109
Unsupported Tests : 11
[1417/1417] Running the Clang regression tests
lit.py: /ssd/llvm-project/clang/test/lit.cfg:200: note: using clang: '/ssd/b/./bin/clang'
FAIL: Clang :: CodeGen/target-features-error.c (2230 of 10662)
******************** TEST 'Clang :: CodeGen/target-features-error.c' FAILED ********************
Script:
--
/ssd/b/./bin/clang -cc1 -internal-isystem /ssd/b/lib/clang/5.0.0/include -nostdsysteminc /ssd/llvm-project/clang/test/CodeGen/target-features-error.c -triple=x86_64-linux-gnu -S -verify -o -
--
Exit Code: 1
Command Output (stderr):
--
error: 'error' diagnostics expected but not seen:
File /ssd/llvm-project/clang/test/CodeGen/target-features-error.c Line 6: always_inline function 'foo' requires target feature 'sse4.2', but would be inlined into function 'bar' that is compiled without support for 'sse4.2'
error: 'error' diagnostics seen but not expected:
File /ssd/llvm-project/clang/test/CodeGen/target-features-error.c Line 6: always_inline function 'foo' requires target feature 'sse4.1', but would be inlined into function 'bar' that is compiled without support for 'sse4.1'
2 errors generated.
--
********************
-; CHECK: Name: {{[0-9a-f]*}} "_ZN5clang23DataRecursiveASTVisitorIN12_GLOBAL__N_124UnusedBackingIvarCheckerEE26TraverseCUDAKernelCallExprEPNS_18CUDAKernelCallExprE"
FAIL: Clang :: CodeGen/target-features-error-2.c (2716 of 10662)
******************** TEST 'Clang :: CodeGen/target-features-error-2.c' FAILED ********************
Script:
--
/ssd/b/./bin/clang -cc1 -internal-isystem /ssd/b/lib/clang/5.0.0/include -nostdsysteminc /ssd/llvm-project/clang/test/CodeGen/target-features-error-2.c -triple=x86_64-linux-gnu -S -verify -o - -D NEED_SSE42
/ssd/b/./bin/clang -cc1 -internal-isystem /ssd/b/lib/clang/5.0.0/include -nostdsysteminc /ssd/llvm-project/clang/test/CodeGen/target-features-error-2.c -triple=x86_64-linux-gnu -S -verify -o - -D NEED_AVX_1
/ssd/b/./bin/clang -cc1 -internal-isystem /ssd/b/lib/clang/5.0.0/include -nostdsysteminc /ssd/llvm-project/clang/test/CodeGen/target-features-error-2.c -triple=x86_64-linux-gnu -S -verify -o - -D NEED_AVX_2
/ssd/b/./bin/clang -cc1 -internal-isystem /ssd/b/lib/clang/5.0.0/include -nostdsysteminc /ssd/llvm-project/clang/test/CodeGen/target-features-error-2.c -triple=x86_64-linux-gnu -S -verify -o - -D NEED_AVX_3
/ssd/b/./bin/clang -cc1 -internal-isystem /ssd/b/lib/clang/5.0.0/include -nostdsysteminc /ssd/llvm-project/clang/test/CodeGen/target-features-error-2.c -triple=x86_64-linux-gnu -S -verify -o - -D NEED_AVX_4
--
Exit Code: 1
Command Output (stderr):
--
error: 'error' diagnostics expected but not seen:
File /ssd/llvm-project/clang/test/CodeGen/target-features-error-2.c Line 12: always_inline function '_mm256_extract_epi32' requires target feature 'sse4.2', but would be inlined into function 'baz' that is compiled without support for 'sse4.2'
error: 'error' diagnostics seen but not expected:
File /ssd/llvm-project/clang/test/CodeGen/target-features-error-2.c Line 12: always_inline function '_mm256_extract_epi32' requires target feature 'sse4.1', but would be inlined into function 'baz' that is compiled without support for 'sse4.1'
2 errors generated.
--
********************
FAIL: Clang :: SemaCXX/typo-correction-delayed.cpp (7901 of 10662)
******************** TEST 'Clang :: SemaCXX/typo-correction-delayed.cpp' FAILED ********************
Script:
--
/ssd/b/./bin/clang -cc1 -internal-isystem /ssd/b/lib/clang/5.0.0/include -nostdsysteminc -fsyntax-only -verify -Wno-c++11-extensions /ssd/llvm-project/clang/test/SemaCXX/typo-correction-delayed.cpp
/ssd/b/./bin/clang -cc1 -internal-isystem /ssd/b/lib/clang/5.0.0/include -nostdsysteminc -fsyntax-only -verify -std=c++98 -Wno-c++11-extensions /ssd/llvm-project/clang/test/SemaCXX/typo-correction-delayed.cpp
/ssd/b/./bin/clang -cc1 -internal-isystem /ssd/b/lib/clang/5.0.0/include -nostdsysteminc -fsyntax-only -verify -std=c++11 /ssd/llvm-project/clang/test/SemaCXX/typo-correction-delayed.cpp
--
Exit Code: 1
Command Output (stderr):
--
error: 'error' diagnostics expected but not seen:
File /ssd/llvm-project/clang/test/SemaCXX/typo-correction-delayed.cpp Line 95: no member named 'Next' in 'initializerCorrections::NestedNode'{{$}}
error: 'error' diagnostics seen but not expected:
File /ssd/llvm-project/clang/test/SemaCXX/typo-correction-delayed.cpp Line 95: no member named 'Next' in 'initializerCorrections::NestedNode'; did you mean 'next'?
error: 'note' diagnostics seen but not expected:
File /ssd/llvm-project/clang/test/SemaCXX/typo-correction-delayed.cpp Line 90: 'next' declared here
3 errors generated.
--
********************
FAIL: Clang-Unit :: Tooling/ToolingTests/JSONCompilationDatabase.GetAllFiles (10466 of 10662)
******************** TEST 'Clang-Unit :: Tooling/ToolingTests/JSONCompilationDatabase.GetAllFiles' FAILED ********************
Note: Google Test filter = JSONCompilationDatabase.GetAllFiles
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from JSONCompilationDatabase
[ RUN ] JSONCompilationDatabase.GetAllFiles
/ssd/llvm-project/clang/unittests/Tooling/CompilationDatabaseTest.cpp:95: Failure
Expected: expected_files
Which is: { "//net/dir/file1", "//net/dir/file2" }
To be equal to: getAllFiles("[{\"directory\":\"//net/dir\"," "\"command\":\"command\"," "\"file\":\"file1\"}," " {\"directory\":\"//net/dir\"," "\"command\":\"command\"," "\"file\":\"file2\"}]", ErrorMessage, JSONCommandLineSyntax::Gnu)
Which is: { "//net/dir/file2", "//net/dir/file1" }
[ FAILED ] JSONCompilationDatabase.GetAllFiles (0 ms)
[----------] 1 test from JSONCompilationDatabase (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 ] JSONCompilationDatabase.GetAllFiles
1 FAILED TEST
********************
Testing Time: 89.77s
********************
Failing Tests (4):
Clang :: CodeGen/target-features-error-2.c
Clang :: CodeGen/target-features-error.c
Clang :: SemaCXX/typo-correction-delayed.cpp
Clang-Unit :: Tooling/ToolingTests/JSONCompilationDatabase.GetAllFiles
Expected Passes : 10601
Expected Failures : 19
Unsupported Tests : 38
Unexpected Failures: 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment