| 1 |
# Regression test for Issue 253: Wrong calculated message maximum size |
| 2 |
|
| 3 |
Import('env') |
| 4 |
|
| 5 |
env.NanopbProto('short_array') |
| 6 |
|
| 7 |
p = env.Program(['short_array.c', |
| 8 |
'short_array.pb.c', |
| 9 |
"$COMMON/pb_decode.o", |
| 10 |
"$COMMON/pb_encode.o", |
| 11 |
"$COMMON/pb_common.o"]) |
| 12 |
|
| 13 |
env.RunTest(p) |
| 14 |
|
| 15 |
|