]> granicus.if.org Git - clang/commitdiff
Adjust test to fix bot error from r254927.
authorTeresa Johnson <tejohnson@google.com>
Mon, 7 Dec 2015 20:26:57 +0000 (20:26 +0000)
committerTeresa Johnson <tejohnson@google.com>
Mon, 7 Dec 2015 20:26:57 +0000 (20:26 +0000)
Remove the part of the error message that may vary across systems.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254938 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/thinlto_backend.c

index 6a74deab8f1a24588c73a11bd864baac903b87de..2a61894082232abc72e1a9bdcac6c469819705ad 100644 (file)
@@ -7,7 +7,7 @@
 
 // Ensure we get expected error for missing index file
 // RUN: %clang -target x86_64-unknown-linux -O2 -o %t1.o -x ir %t.o -c -fthinlto-index=bad.thinlto.bc 2>&1 | FileCheck %s -check-prefix=CHECK-ERROR
-// CHECK-ERROR: Error loading index file 'bad.thinlto.bc': No such file or directory
+// CHECK-ERROR: Error loading index file 'bad.thinlto.bc'
 
 // Ensure Function Importing pass added
 // RUN: %clang -target x86_64-unknown-linux -O2 -o %t1.o -x ir %t.o -c -fthinlto-index=%t.thinlto.bc -mllvm -debug-pass=Structure 2>&1 | FileCheck %s -check-prefix=CHECK-PASS