summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2018-11-08 17:10:31 +0000
committerSam McCall <sam.mccall@gmail.com>2018-11-08 17:10:31 +0000
commitcf3c9c116f3b17954ae626f5dce9bcbbc4afec5c (patch)
tree895139cb77f68992ea8664f387d2e3d8bab5f712 /clang-tools-extra/test
parent2c782470411ec028c23ea60fa9ba388a8fa10b58 (diff)
downloadbcm5719-llvm-cf3c9c116f3b17954ae626f5dce9bcbbc4afec5c.tar.gz
bcm5719-llvm-cf3c9c116f3b17954ae626f5dce9bcbbc4afec5c.zip
[clang-tidy] fix test after r346414
llvm-svn: 346415
Diffstat (limited to 'clang-tools-extra/test')
-rw-r--r--clang-tools-extra/test/clang-tidy/diagnostic.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/diagnostic.cpp b/clang-tools-extra/test/clang-tidy/diagnostic.cpp
index d12fc7b7a86..0df6e2ab573 100644
--- a/clang-tools-extra/test/clang-tidy/diagnostic.cpp
+++ b/clang-tools-extra/test/clang-tidy/diagnostic.cpp
@@ -24,7 +24,9 @@
// RUN: not clang-tidy -checks='-*,clang-diagnostic-*,google-explicit-constructor' %T/diagnostics/input.cpp 2>&1 | FileCheck -check-prefix=CHECK5 -implicit-check-not='{{warning:|error:}}' %s
// RUN: not clang-tidy -checks='-*,modernize-use-override' %T/diagnostics/input.cpp -- -DCOMPILATION_ERROR 2>&1 | FileCheck -check-prefix=CHECK6 -implicit-check-not='{{warning:|error:}}' %s
-// CHECK1: error: error reading '{{.*}}nonexistent.cpp' [clang-diagnostic-error]
+// CHECK1: error: no input files [clang-diagnostic-error]
+// CHECK1: error: no such file or directory: '{{.*}}nonexistent.cpp' [clang-diagnostic-error]
+// CHECK1: error: unable to handle compilation{{.*}} [clang-diagnostic-error]
// CHECK2: error: unknown argument: '-fan-unknown-option' [clang-diagnostic-error]
// CHECK3: error: unknown argument: '-fan-unknown-option' [clang-diagnostic-error]
// CHECK5: error: unknown argument: '-fan-option-from-compilation-database' [clang-diagnostic-error]
OpenPOWER on IntegriCloud