Remove clang-format tests from tools/extra.

These will be re-added to clang/test.

llvm-svn: 177852
This commit is contained in:
Daniel Jasper 2013-03-25 09:14:14 +00:00
parent c6fd019c77
commit 83c10c9d38
4 changed files with 1 additions and 22 deletions

View File

@ -22,7 +22,7 @@ set(CLANG_TOOLS_TEST_DEPS
clang clang-headers FileCheck count not
# Individual tools we test.
remove-cstr-calls cpp11-migrate clang-format
remove-cstr-calls cpp11-migrate
)
add_lit_testsuite(check-clang-tools "Running the Clang extra tools' regression tests"

View File

@ -1,6 +0,0 @@
// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
// RUN: clang-format -i %t.cpp
// RUN: FileCheck -input-file=%t.cpp %s
// CHECK: {{^int \*i;}}
int * i ;

View File

@ -1,4 +0,0 @@
// RUN: clang-format 2>&1 >/dev/null %s |FileCheck %s
}
// CHECK: diagnostic.cpp:[[@LINE-1]]:1: error: unexpected '}'

View File

@ -1,11 +0,0 @@
// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
// RUN: clang-format -offset=2 -length=0 -offset=28 -length=0 -i %t.cpp
// RUN: FileCheck -input-file=%t.cpp %s
// CHECK: {{^int \*i;$}}
int*i;
// CHECK: {{^ int \* i;$}}
int * i;
// CHECK: {{^ int \*i;$}}
int * i;