summaryrefslogtreecommitdiff
path: root/test/MC/ELF
diff options
context:
space:
mode:
authorLogan Chien <tzuhsiang.chien@gmail.com>2014-03-29 15:10:22 +0000
committerLogan Chien <tzuhsiang.chien@gmail.com>2014-03-29 15:10:22 +0000
commita68f166d6046581356721e54fabeafa241e58e42 (patch)
tree8a5b52915f61372b4065ac43521ac0305c7d3788 /test/MC/ELF
parent3873f8265ba2b7b996bbd286166318cbf22b27eb (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205102 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ELF')
-rw-r--r--test/MC/ELF/nocompression.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/MC/ELF/nocompression.s b/test/MC/ELF/nocompression.s
index c584e181df0..97b5a8832ed 100644
--- a/test/MC/ELF/nocompression.s
+++ b/test/MC/ELF/nocompression.s
@@ -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