From: Teresa Johnson Date: Mon, 7 Dec 2015 20:26:57 +0000 (+0000) Subject: Adjust test to fix bot error from r254927. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37500dc24511e9ea1d16982befdb6beb17bfeea5;p=clang Adjust test to fix bot error from r254927. 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 --- diff --git a/test/CodeGen/thinlto_backend.c b/test/CodeGen/thinlto_backend.c index 6a74deab8f..2a61894082 100644 --- a/test/CodeGen/thinlto_backend.c +++ b/test/CodeGen/thinlto_backend.c @@ -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