[PATCH] D135437: [Tests] Require zlib for zstd tests

Mariusz Sikora via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 03:28:02 PDT 2022


mariusz-sikora-at-amd created this revision.
Herald added a subscriber: emaste.
Herald added a reviewer: alexander-shaposhnikov.
Herald added a reviewer: jhenderson.
Herald added a project: All.
mariusz-sikora-at-amd requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

Tests may fail on system without zlib


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135437

Files:
  llvm/test/MC/ELF/compress-debug-sections-zstd.s
  llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd.test


Index: llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd.test
===================================================================
--- llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd.test
+++ llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd.test
@@ -1,4 +1,5 @@
 # REQUIRES: zstd
+# REQUIRES: zlib
 ## Test --compress-debug-sections=zstd and decompression.
 
 # RUN: yaml2obj %p/Inputs/compress-debug-sections.yaml -o %t && llvm-objcopy %t
Index: llvm/test/MC/ELF/compress-debug-sections-zstd.s
===================================================================
--- llvm/test/MC/ELF/compress-debug-sections-zstd.s
+++ llvm/test/MC/ELF/compress-debug-sections-zstd.s
@@ -1,4 +1,5 @@
 # REQUIRES: zstd
+# REQUIRES: zlib
 
 # RUN: llvm-mc -filetype=obj -triple=x86_64 -compress-debug-sections=zstd %s -o %t
 # RUN: llvm-readelf -S %t | FileCheck %s --check-prefix=SEC


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135437.466025.patch
Type: text/x-patch
Size: 904 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221007/8debefdc/attachment.bin>


More information about the llvm-commits mailing list