From: David Blaikie Date: Fri, 28 Mar 2014 17:04:53 +0000 (+0000) Subject: Only test compression when linked with zlib. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b91f51161fd2f71dd16e7aa4e508bb8db889c905;p=oota-llvm.git Only test compression when linked with zlib. I'll implement error handling and a negative test in both llvm-mc and Clang soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205016 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/MC/ELF/compression.s b/test/MC/ELF/compression.s index 0293a3c9c57..b5ba2624f8a 100644 --- a/test/MC/ELF/compression.s +++ b/test/MC/ELF/compression.s @@ -1,5 +1,7 @@ // RUN: llvm-mc -filetype=obj -compress-debug-sections -triple x86_64-pc-linux-gnu %s -o - | llvm-objdump -s - | FileCheck %s +// REQUIRES: zlib + // CHECK: Contents of section .zdebug_line: // Check for the 'ZLIB' file magic at the start of the section // CHECK-NEXT: ZLIB