]> granicus.if.org Git - llvm/commitdiff
[llvm-lipo] Fix test on Windows
authorAnusha Basana <anusha.basana@gmail.com>
Mon, 29 Jul 2019 22:27:27 +0000 (22:27 +0000)
committerAnusha Basana <anusha.basana@gmail.com>
Mon, 29 Jul 2019 22:27:27 +0000 (22:27 +0000)
Error message outputs with lowercase on Windows.
Made test work on Widnows.

For example:
llvm-lipo: error: 'i386': no such file or directory

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

test/tools/llvm-lipo/replace-invalid-input.test

index 8c0f7ce3d96261060381620e7b69c49309a98875..b1c5fa2cd7789f2d76045e9ba3cf3d18c89047c5 100644 (file)
@@ -12,7 +12,7 @@
 # INPUT_ARGS: error: replace expects a single input file
 
 # RUN: not llvm-lipo %t-universal.o -replace %t-32.o i386 -o %t.o 2>&1 | FileCheck --check-prefix=INVALID_FILE %s
-# INVALID_FILE: error: 'i386': No such file or directory
+# INVALID_FILE: error: 'i386': {{[nN]}}o such file or directory
 
 # RUN: not llvm-lipo %t-universal.o -replace i3866 %t-32.o -o %t.o 2>&1 | FileCheck --check-prefix=INVALID_ARCH %s
 # INVALID_ARCH: error: Invalid architecture: i3866