[llvm] r205102 - llvm-mc: Fix build breakage caused by r205050.

David Blaikie dblaikie at gmail.com
Sat Mar 29 09:41:27 PDT 2014


On Sat, Mar 29, 2014 at 8:10 AM, Logan Chien <tzuhsiang.chien at gmail.com> wrote:
> Author: logan
> Date: Sat Mar 29 10:10:22 2014
> New Revision: 205102
>
> URL: http://llvm.org/viewvc/llvm-project?rev=205102&view=rev
> Log:
> llvm-mc: Fix build breakage caused by r205050.

Thanks for the fix!

>
> When LLVM is not built with zlib, nocompression.s will test
> for the error message.  But this test case will cause breakage
> because the exit code is non-zero.  This commit fix this issue
> by adding "not" to the command.
>
>
> Modified:
>     llvm/trunk/test/MC/ELF/nocompression.s
>
> Modified: llvm/trunk/test/MC/ELF/nocompression.s
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/nocompression.s?rev=205102&r1=205101&r2=205102&view=diff
> ==============================================================================
> --- llvm/trunk/test/MC/ELF/nocompression.s (original)
> +++ llvm/trunk/test/MC/ELF/nocompression.s Sat Mar 29 10:10:22 2014
> @@ -1,4 +1,4 @@
> -// RUN: llvm-mc -filetype=obj -compress-debug-sections -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
> +// RUN: not llvm-mc -filetype=obj -compress-debug-sections -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
>
>  // REQUIRES: nozlib
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list