]> granicus.if.org Git - clang/commitdiff
Fix offload bundler tests so that diagnostic can start with caps.
authorSamuel Antao <sfantao@us.ibm.com>
Wed, 24 Aug 2016 18:52:18 +0000 (18:52 +0000)
committerSamuel Antao <sfantao@us.ibm.com>
Wed, 24 Aug 2016 18:52:18 +0000 (18:52 +0000)
Windows require that.

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

test/Driver/clang-offload-bundler.c

index a1071439c045ba3a8a2c86d0cb78bddda0ae4556..58fcaa38528c8333501e6033c74813906fe23431 100644 (file)
@@ -68,7 +68,7 @@
 
 // RUN: not clang-offload-bundler -type=i -targets=host-powerpc64le-ibm-linux-gnu,openmp-powerpc64le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -inputs=%t.i,%t.tgt1,%t.tgt2.notexist -outputs=%t.bundle.i 2>&1 | FileCheck %s --check-prefix CK-ERR5
 // RUN: not clang-offload-bundler -type=i -targets=host-powerpc64le-ibm-linux-gnu,openmp-powerpc64le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -outputs=%t.i,%t.tgt1,%t.tgt2 -inputs=%t.bundle.i.notexist -unbundle 2>&1 | FileCheck %s --check-prefix CK-ERR5
-// CK-ERR5: error: Can't open file {{.+}}.notexist: No such file or directory
+// CK-ERR5: error: Can't open file {{.+}}.notexist: {{N|n}}o such file or directory
 
 // RUN: not clang-offload-bundler -type=invalid -targets=host-powerpc64le-ibm-linux-gnu,openmp-powerpc64le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -inputs=%t.i,%t.tgt1,%t.tgt2 -outputs=%t.bundle.i 2>&1 | FileCheck %s --check-prefix CK-ERR6
 // CK-ERR6: error: invalid file type specified.