[test] Fix compress-debug-sections-zlib-unavailable.s
authorFangrui Song <i@maskray.me>
Thu, 8 Sep 2022 16:32:12 +0000 (09:32 -0700)
committerFangrui Song <i@maskray.me>
Thu, 8 Sep 2022 16:32:13 +0000 (09:32 -0700)
llvm/test/MC/ELF/compress-debug-sections-zlib-unavailable.s

index fa5ce9f..eecff52 100644 (file)
@@ -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: {{.}}