[llvm] r205016 - Only test compression when linked with zlib.
David Blaikie
dblaikie at gmail.com
Fri Mar 28 10:04:53 PDT 2014
Author: dblaikie
Date: Fri Mar 28 12:04:53 2014
New Revision: 205016
URL: http://llvm.org/viewvc/llvm-project?rev=205016&view=rev
Log:
Only test compression when linked with zlib.
I'll implement error handling and a negative test in both llvm-mc and
Clang soon.
Modified:
llvm/trunk/test/MC/ELF/compression.s
Modified: llvm/trunk/test/MC/ELF/compression.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/compression.s?rev=205016&r1=205015&r2=205016&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/compression.s (original)
+++ llvm/trunk/test/MC/ELF/compression.s Fri Mar 28 12:04:53 2014
@@ -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
More information about the llvm-commits
mailing list