r279653 - Fix offload bundler tests so that diagnostic can start with caps.

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 25 01:03:52 PDT 2016


It still fails on Windows on another line, \0A vs \0D\0A

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"




http://lab.llvm.org:8011/builders/clang-x86-win2008-selfhost/builds/9871/steps/ninja%20check%202/logs/FAIL%3A%20Clang%3A%3Aclang-offload-bundler
.c

On Wed, Aug 24, 2016 at 12:00 PM Samuel Antao via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> Author: sfantao
> Date: Wed Aug 24 13:52:18 2016
> New Revision: 279653
>
> URL: http://llvm.org/viewvc/llvm-project?rev=279653&view=rev
> Log:
> Fix offload bundler tests so that diagnostic can start with caps.
>
> Windows require that.
>
> Modified:
>     cfe/trunk/test/Driver/clang-offload-bundler.c
>
> Modified: cfe/trunk/test/Driver/clang-offload-bundler.c
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/clang-offload-bundler.c?rev=279653&r1=279652&r2=279653&view=diff
>
> ==============================================================================
> --- cfe/trunk/test/Driver/clang-offload-bundler.c (original)
> +++ cfe/trunk/test/Driver/clang-offload-bundler.c Wed Aug 24 13:52:18 2016
> @@ -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.
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160825/b9f3cdc6/attachment.html>


More information about the cfe-commits mailing list