Fix test by allowing it to accept an upper or lower case letter as the first character.
authorDouglas Yung <douglas.yung@sony.com>
Fri, 20 Apr 2018 15:23:57 +0000 (15:23 +0000)
committerDouglas Yung <douglas.yung@sony.com>
Fri, 20 Apr 2018 15:23:57 +0000 (15:23 +0000)
Windows for some reason uses a lower case letter, while linux uses upper case.

llvm-svn: 330438

llvm/test/tools/llvm-lto2/X86/stats-file-option.ll

index adc78c4..c73c502 100644 (file)
@@ -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