Adjust test to fix bot error from r254927.

Remove the part of the error message that may vary across systems.

llvm-svn: 254938
This commit is contained in:
Teresa Johnson 2015-12-07 20:26:57 +00:00
parent a8bf5099d6
commit f5ae87d70d
1 changed files with 1 additions and 1 deletions

View 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