From: Logan Chien Date: Sat, 29 Mar 2014 15:10:22 +0000 (+0000) Subject: llvm-mc: Fix build breakage caused by r205050. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a68f166d6046581356721e54fabeafa241e58e42;p=oota-llvm.git 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 --- 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