From: Douglas Yung Date: Fri, 20 Apr 2018 15:23:57 +0000 (+0000) Subject: Fix test by allowing it to accept an upper or lower case letter as the first character. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51db3abac8fd183f8f4341746b4a4d1176c88d58;p=platform%2Fupstream%2Fllvm.git Fix test by allowing it to accept an upper or lower case letter as the first character. Windows for some reason uses a lower case letter, while linux uses upper case. llvm-svn: 330438 --- diff --git a/llvm/test/tools/llvm-lto2/X86/stats-file-option.ll b/llvm/test/tools/llvm-lto2/X86/stats-file-option.ll index adc78c4..c73c502 100644 --- a/llvm/test/tools/llvm-lto2/X86/stats-file-option.ll +++ b/llvm/test/tools/llvm-lto2/X86/stats-file-option.ll @@ -22,4 +22,4 @@ define void @patatino() { ; Try to save statistics to an invalid file. ; RUN: not llvm-lto2 run %t1.bc -o %t.o -r %t1.bc,patatino,px \ ; RUN: -stats-file=%t2/foo.stats 2>&1 | FileCheck --check-prefix=ERROR %s -; ERROR: LTO::run failed: No such file or directory +; ERROR: LTO::run failed: {{[Nn]}}o such file or directory