Only test compression when linked with zlib.
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 28 Mar 2014 17:04:53 +0000 (17:04 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 28 Mar 2014 17:04:53 +0000 (17:04 +0000)
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

index 0293a3c9c575c6f5e4476ff7b9f66037b8c4f7d6..b5ba2624f8ac9fa73bd897018a9f515ece7f2841 100644 (file)
@@ -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