r213170 - clang-cl: expand test coverage for "core" options

Reid Kleckner rnk at google.com
Wed Jul 16 11:10:01 PDT 2014


The -msse2 test won't work if clang-cl isn't targeting x86.  See the
cl-x86-flags.c test which is failing here:
http://lab.llvm.org:8011/builders/clang-ppc64-elf-linux2/builds/15629


On Wed, Jul 16, 2014 at 9:29 AM, Hans Wennborg <hans at hanshq.net> wrote:

> Author: hans
> Date: Wed Jul 16 11:29:00 2014
> New Revision: 213170
>
> URL: http://llvm.org/viewvc/llvm-project?rev=213170&view=rev
> Log:
> clang-cl: expand test coverage for "core" options
>
> Modified:
>     cfe/trunk/test/Driver/cl-options.c
>
> Modified: cfe/trunk/test/Driver/cl-options.c
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-options.c?rev=213170&r1=213169&r2=213170&view=diff
>
> ==============================================================================
> --- cfe/trunk/test/Driver/cl-options.c (original)
> +++ cfe/trunk/test/Driver/cl-options.c Wed Jul 16 11:29:00 2014
> @@ -294,9 +294,16 @@
>
>  // Accept "core" clang options.
>  // (/Zs is for syntax-only)
> -// RUN: %clang_cl /Zs \
> +// RUN: %clang_cl \
> +// RUN:     --driver-mode=cl \
> +// RUN:     -ferror-limit=10 \
>  // RUN:     -fmsc-version=1800 \
> -// RUN:     -- %s 2>&1
> +// RUN:     -fno-strict-aliasing \
> +// RUN:     -fstrict-aliasing \
> +// RUN:     -mllvm -disable-llvm-optzns \
> +// RUN:     -msse2 \
> +// RUN:     -Wunused-variables \
> +// RUN:     /Zs -- %s 2>&1
>
>
>  void f() { }
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140716/5bf7ecee/attachment.html>


More information about the cfe-commits mailing list