From: Fangrui Song Date: Thu, 8 Sep 2022 16:32:12 +0000 (-0700) Subject: [test] Fix compress-debug-sections-zlib-unavailable.s X-Git-Tag: upstream/17.0.6~34055 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b090ef9e4f9012762076603918c2c881d84edc60;p=platform%2Fupstream%2Fllvm.git [test] Fix compress-debug-sections-zlib-unavailable.s --- diff --git a/llvm/test/MC/ELF/compress-debug-sections-zlib-unavailable.s b/llvm/test/MC/ELF/compress-debug-sections-zlib-unavailable.s index fa5ce9f6..eecff52 100644 --- a/llvm/test/MC/ELF/compress-debug-sections-zlib-unavailable.s +++ b/llvm/test/MC/ELF/compress-debug-sections-zlib-unavailable.s @@ -1,5 +1,5 @@ // REQUIRES: !zlib // RUN: not llvm-mc -filetype=obj -compress-debug-sections=zlib -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s -// CHECK: llvm-mc{{[^:]*}}: error: build tools with LLVM_ENABLE_ZLIB to enable --compress-debug-sections=zlib +// CHECK: error: --compress-debug-sections: LLVM was not built with LLVM_ENABLE_ZLIB or did not find zlib at build time // CHECK-NOT: {{.}}