[clang-tools-extra] r177852 - Remove clang-format tests from tools/extra.
Daniel Jasper
djasper at google.com
Mon Mar 25 02:14:14 PDT 2013
Author: djasper
Date: Mon Mar 25 04:14:14 2013
New Revision: 177852
URL: http://llvm.org/viewvc/llvm-project?rev=177852&view=rev
Log:
Remove clang-format tests from tools/extra.
These will be re-added to clang/test.
Removed:
clang-tools-extra/trunk/test/clang-format/basic.cpp
clang-tools-extra/trunk/test/clang-format/diagnostic.cpp
clang-tools-extra/trunk/test/clang-format/ranges.cpp
Modified:
clang-tools-extra/trunk/test/CMakeLists.txt
Modified: clang-tools-extra/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/CMakeLists.txt?rev=177852&r1=177851&r2=177852&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/test/CMakeLists.txt Mon Mar 25 04:14:14 2013
@@ -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"
Removed: clang-tools-extra/trunk/test/clang-format/basic.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-format/basic.cpp?rev=177851&view=auto
==============================================================================
--- clang-tools-extra/trunk/test/clang-format/basic.cpp (original)
+++ clang-tools-extra/trunk/test/clang-format/basic.cpp (removed)
@@ -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 ;
Removed: clang-tools-extra/trunk/test/clang-format/diagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-format/diagnostic.cpp?rev=177851&view=auto
==============================================================================
--- clang-tools-extra/trunk/test/clang-format/diagnostic.cpp (original)
+++ clang-tools-extra/trunk/test/clang-format/diagnostic.cpp (removed)
@@ -1,4 +0,0 @@
-// RUN: clang-format 2>&1 >/dev/null %s |FileCheck %s
-
-}
-// CHECK: diagnostic.cpp:[[@LINE-1]]:1: error: unexpected '}'
Removed: clang-tools-extra/trunk/test/clang-format/ranges.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-format/ranges.cpp?rev=177851&view=auto
==============================================================================
--- clang-tools-extra/trunk/test/clang-format/ranges.cpp (original)
+++ clang-tools-extra/trunk/test/clang-format/ranges.cpp (removed)
@@ -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;
More information about the cfe-commits
mailing list