From e82d6318e98dd5903c3a83aa6eda364401c59384 Mon Sep 17 00:00:00 2001 From: Paul Robinson Date: Fri, 10 May 2019 18:47:39 +0000 Subject: [PATCH] Replace 'REQUIRES: nozlib' with '!zlib' because we don't need two ways to say the same thing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360455 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/ELF/nocompression.s | 2 +- test/tools/llvm-dwp/X86/nocompress.test | 2 +- test/tools/llvm-profdata/nocompress.test | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/MC/ELF/nocompression.s b/test/MC/ELF/nocompression.s index 2c82d4f1797..4da97a05cfd 100644 --- a/test/MC/ELF/nocompression.s +++ b/test/MC/ELF/nocompression.s @@ -1,4 +1,4 @@ -// REQUIRES: nozlib +// REQUIRES: !zlib // RUN: not llvm-mc -filetype=obj -compress-debug-sections=zlib -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s // RUN: not llvm-mc -filetype=obj -compress-debug-sections=zlib-gnu -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s diff --git a/test/tools/llvm-dwp/X86/nocompress.test b/test/tools/llvm-dwp/X86/nocompress.test index eaf2af2344d..d03895dddc8 100644 --- a/test/tools/llvm-dwp/X86/nocompress.test +++ b/test/tools/llvm-dwp/X86/nocompress.test @@ -1,4 +1,4 @@ -REQUIRES: nozlib +REQUIRES: !zlib RUN: not llvm-dwp %p/../Inputs/compress/a.dwo -o %t 2>&1 | FileCheck %s CHECK: error: failure while decompressing compressed section: '.zdebug_{{.*}}.dwo', zlib is not available diff --git a/test/tools/llvm-profdata/nocompress.test b/test/tools/llvm-profdata/nocompress.test index 65db61df74b..7830d36a5e6 100644 --- a/test/tools/llvm-profdata/nocompress.test +++ b/test/tools/llvm-profdata/nocompress.test @@ -10,6 +10,6 @@ $ LLVM_PROFILE_FILE=$TESTDIR/Inputs/compressed.profraw ./a.out RUN: not llvm-profdata show %p/Inputs/compressed.profraw -o %t 2>&1 | FileCheck %s -REQUIRES: nozlib +REQUIRES: !zlib CHECK: error: {{.*}} Profile uses zlib compression but the profile reader was built without zlib support -- 2.40.0