llvm-mc: Fix build breakage caused by r205050.
authorLogan Chien <tzuhsiang.chien@gmail.com>
Sat, 29 Mar 2014 15:10:22 +0000 (15:10 +0000)
committerLogan Chien <tzuhsiang.chien@gmail.com>
Sat, 29 Mar 2014 15:10:22 +0000 (15:10 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205102 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/ELF/nocompression.s

index c584e181df0f8fbb08e802bb9883590c75b8f1ba..97b5a8832edb54bb756e30d680a9faca04f59c78 100644 (file)
@@ -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