From a68f166d6046581356721e54fabeafa241e58e42 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Sat, 29 Mar 2014 15:10:22 +0000 Subject: [PATCH] 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 --- test/MC/ELF/nocompression.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1