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
This commit is contained in:
David Blaikie 2014-03-28 17:04:53 +00:00
parent ffc7e0f678
commit b91f51161f

View 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