[llvm] r279966 - Mark test as XFAIL instead of disabling it everywhere.

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 29 06:14:43 PDT 2016


Hi Mehdi,

Is it necessary for this test to only run on X86? If so, we should
create an X86 subdirectory in test/tools/llvm-lto2 and test
config.root.targets in
the lit as done elsewhere for X86-specific tests.

Looks like my recent common fix broke this test (but it was hidden
since it wasn't actually running). Will take a look at fixing that
part, but I'm not sure if it is safe to enable everywhere given the
original attempt to limit it.

Thanks,
Teresa

On Mon, Aug 29, 2016 at 5:41 AM, Benjamin Kramer via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: d0k
> Date: Mon Aug 29 07:41:32 2016
> New Revision: 279966
>
> URL: http://llvm.org/viewvc/llvm-project?rev=279966&view=rev
> Log:
> Mark test as XFAIL instead of disabling it everywhere.
>
> There is no lit feature 'X86' so this test is just disabled completely.
> Make it XFAIL until a solution is found.
>
> Modified:
>     llvm/trunk/test/tools/llvm-lto2/common.ll
>
> Modified: llvm/trunk/test/tools/llvm-lto2/common.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-lto2/common.ll?rev=279966&r1=279965&r2=279966&view=diff
> ==============================================================================
> --- llvm/trunk/test/tools/llvm-lto2/common.ll (original)
> +++ llvm/trunk/test/tools/llvm-lto2/common.ll Mon Aug 29 07:41:32 2016
> @@ -1,4 +1,4 @@
> -; REQUIRES: X86
> +; XFAIL: *
>  ; RUN: llvm-as < %s > %t1.bc
>  ; RUN: llvm-as < %p/Inputs/common.ll > %t2.bc
>
> @@ -63,4 +63,4 @@ target triple = "x86_64-apple-macosx10.1
>
>  define i8 *@foo() {
>   ret i8 *@v
> -}
> \ No newline at end of file
> +}
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits



-- 
Teresa Johnson | Software Engineer | tejohnson at google.com | 408-460-2413


More information about the llvm-commits mailing list