From 42978a658f93d84fdb41e7350e320bf482259878 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Wed, 26 Feb 2025 12:21:51 -0800 Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?= =?UTF-8?q?l=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Created using spr 1.3.4 --- llvm/test/tools/llvm-size/radix.test | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/llvm/test/tools/llvm-size/radix.test b/llvm/test/tools/llvm-size/radix.test index 31956ff12895f..77d7b24b3f588 100644 --- a/llvm/test/tools/llvm-size/radix.test +++ b/llvm/test/tools/llvm-size/radix.test @@ -109,19 +109,20 @@ ## Case 9: Bad values. # RUN: not llvm-size %t1.o --radix=0 2>&1 \ -# RUN: | FileCheck %s --check-prefix=BAD-VAL -DNUM=0 +# RUN: | FileCheck %s --check-prefix=BAD-VAL -DFILE1=%t1.o -DNUM=0 # RUN: not llvm-size %t1.o --radix=1 2>&1 \ -# RUN: | FileCheck %s --check-prefix=BAD-VAL -DNUM=1 +# RUN: | FileCheck %s --check-prefix=BAD-VAL -DFILE1=%t1.o -DNUM=1 # RUN: not llvm-size %t1.o --radix=2 2>&1 \ -# RUN: | FileCheck %s --check-prefix=BAD-VAL -DNUM=2 +# RUN: | FileCheck %s --check-prefix=BAD-VAL -DFILE1=%t1.o -DNUM=2 # RUN: not llvm-size %t1.o --radix=32 2>&1 \ -# RUN: | FileCheck %s --check-prefix=BAD-VAL -DNUM=32 +# RUN: | FileCheck %s --check-prefix=BAD-VAL -DFILE1=%t1.o -DNUM=32 # RUN: not llvm-size %t1.o --radix=-1 2>&1 \ -# RUN: | FileCheck %s --check-prefix=BAD-VAL -DNUM=-1 +# RUN: | FileCheck %s --check-prefix=BAD-VAL -DFILE1=%t1.o -DNUM=-1 # RUN: not llvm-size %t1.o --radix=bad 2>&1 \ -# RUN: | FileCheck %s --check-prefix=BAD-VAL -DNUM=bad +# RUN: | FileCheck %s --check-prefix=BAD-VAL -DFILE1=%t1.o -DNUM=bad # BAD-VAL: {{.*}}llvm-size{{.*}}: error: --radix value should be one of: 8, 10, 16 +# BAD-VAL: 1 2 4 7 7 [[FILE1]] --- !ELF FileHeader: