File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
llvm/test/tools/llvm-size Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 109109
110110## Case 9: Bad values.
111111# RUN: not llvm-size %t1.o --radix=0 2>&1 \
112- # RUN: | FileCheck %s --check-prefix=BAD-VAL -DNUM=0
112+ # RUN: | FileCheck %s --check-prefix=BAD-VAL -DFILE1=%t1.o - DNUM=0
113113# RUN: not llvm-size %t1.o --radix=1 2>&1 \
114- # RUN: | FileCheck %s --check-prefix=BAD-VAL -DNUM=1
114+ # RUN: | FileCheck %s --check-prefix=BAD-VAL -DFILE1=%t1.o - DNUM=1
115115# RUN: not llvm-size %t1.o --radix=2 2>&1 \
116- # RUN: | FileCheck %s --check-prefix=BAD-VAL -DNUM=2
116+ # RUN: | FileCheck %s --check-prefix=BAD-VAL -DFILE1=%t1.o - DNUM=2
117117# RUN: not llvm-size %t1.o --radix=32 2>&1 \
118- # RUN: | FileCheck %s --check-prefix=BAD-VAL -DNUM=32
118+ # RUN: | FileCheck %s --check-prefix=BAD-VAL -DFILE1=%t1.o - DNUM=32
119119# RUN: not llvm-size %t1.o --radix=-1 2>&1 \
120- # RUN: | FileCheck %s --check-prefix=BAD-VAL -DNUM=-1
120+ # RUN: | FileCheck %s --check-prefix=BAD-VAL -DFILE1=%t1.o - DNUM=-1
121121# RUN: not llvm-size %t1.o --radix=bad 2>&1 \
122- # RUN: | FileCheck %s --check-prefix=BAD-VAL -DNUM=bad
122+ # RUN: | FileCheck %s --check-prefix=BAD-VAL -DFILE1=%t1.o - DNUM=bad
123123
124124# BAD-VAL: {{.*}}llvm-size{{.*}}: error: --radix value should be one of: 8, 10, 16
125+ # BAD-VAL: 1 2 4 7 7 [[FILE1]]
125126
126127--- !ELF
127128FileHeader:
You can’t perform that action at this time.
0 commit comments