From b91f51161fd2f71dd16e7aa4e508bb8db889c905 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 28 Mar 2014 17:04:53 +0000 Subject: [PATCH] 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 --- test/MC/ELF/compression.s | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.34.1