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

Logan Chien tzuhsiang.chien at gmail.com
Sat Mar 29 08:10:23 PDT 2014

Author: logan
Date: Sat Mar 29 10:10:22 2014
New Revision: 205102

URL: http://llvm.org/viewvc/llvm-project?rev=205102&view=rev
llvm-mc: Fix build breakage caused by r205050.

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
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

More information about the llvm-commits mailing list