File tree 1 file changed +7
-6
lines changed
llvm/test/tools/llvm-size
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 109
109
110
110
## Case 9: Bad values.
111
111
# 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
113
113
# 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
115
115
# 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
117
117
# 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
119
119
# 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
121
121
# 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
123
123
124
124
# BAD-VAL: {{.*}}llvm-size{{.*}}: error: --radix value should be one of: 8, 10, 16
125
+ # BAD-VAL: 1 2 4 7 7 [[FILE1]]
125
126
126
127
--- !ELF
127
128
FileHeader:
You can’t perform that action at this time.
0 commit comments