diff --git a/llvm/test/MC/ELF/compress-debug-sections-zstd.s b/llvm/test/MC/ELF/compress-debug-sections-zstd.s --- a/llvm/test/MC/ELF/compress-debug-sections-zstd.s +++ b/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 diff --git a/llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd.test b/llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd.test --- a/llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd.test +++ b/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