<div dir="ltr">It still fails on Windows on another line, \0A vs \0D\0A<div><pre style="font-family:"courier new",courier,monotype,monospace;font-size:medium;line-height:normal"><span class="inbox-inbox-stdout">C:\buildbot\slave-config\clang-x86-win2008-selfhost\llvm\tools\clang\test\Driver\clang-offload-bundler.c:233:16: error: expected string not found in input

// CK-OBJ-CMD: private constant [25 x i8] c"Content of device file 1\0A", section "__CLANG_OFFLOAD_BUNDLE__openmp-powerpc64le-ibm-linux-gnu"

               ^

<stdin>:9:1: note: scanning from here

@1 = private constant [26 x i8] c"Content of device file 1\0D\0A", section "__CLANG_OFFLOAD_BUNDLE__openmp-powerpc64le-ibm-linux-gnu"

^

<stdin>:9:6: note: possible intended match here

@1 = private constant [26 x i8] c"Content of device file 1\0D\0A", section "__CLANG_OFFLOAD_BUNDLE__openmp-powerpc64le-ibm-linux-gnu"
</span></pre><br class="inbox-inbox-Apple-interchange-newline"></div><div><br></div><div> <a href="http://lab.llvm.org:8011/builders/clang-x86-win2008-selfhost/builds/9871/steps/ninja%20check%202/logs/FAIL%3A%20Clang%3A%3Aclang-offload-bundler" class="cremed">http://lab.llvm.org:8011/builders/clang-x86-win2008-selfhost/builds/9871/steps/ninja%20check%202/logs/FAIL%3A%20Clang%3A%3Aclang-offload-bundler</a>.c</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 24, 2016 at 12:00 PM Samuel Antao via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: sfantao<br>
Date: Wed Aug 24 13:52:18 2016<br>
New Revision: 279653<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=279653&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=279653&view=rev</a><br>
Log:<br>
Fix offload bundler tests so that diagnostic can start with caps.<br>
<br>
Windows require that.<br>
<br>
Modified:<br>
    cfe/trunk/test/Driver/clang-offload-bundler.c<br>
<br>
Modified: cfe/trunk/test/Driver/clang-offload-bundler.c<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/clang-offload-bundler.c?rev=279653&r1=279652&r2=279653&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/clang-offload-bundler.c?rev=279653&r1=279652&r2=279653&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/Driver/clang-offload-bundler.c (original)<br>
+++ cfe/trunk/test/Driver/clang-offload-bundler.c Wed Aug 24 13:52:18 2016<br>
@@ -68,7 +68,7 @@<br>
<br>
 // 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<br>
 // 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<br>
-// CK-ERR5: error: Can't open file {{.+}}.notexist: No such file or directory<br>
+// CK-ERR5: error: Can't open file {{.+}}.notexist: {{N|n}}o such file or directory<br>
<br>
 // 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<br>
 // CK-ERR6: error: invalid file type specified.<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</blockquote></div>