summaryrefslogtreecommitdiffstats
path: root/libs/nanopb/tests/regression/issue_256/SConscript
blob: b2c3e8646a5f43f151eb38afdf4960eb37578be3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Regression test for Issue 256: Proto3 mode skips submessages even when
# later array fields have non-zero value

Import('env')

env.NanopbProto('submsg_array')

p = env.Program(['submsg_array.c',
                 'submsg_array.pb.c', 
                 "$COMMON/pb_decode.o",
                 "$COMMON/pb_encode.o",
                 "$COMMON/pb_common.o"])

env.RunTest(p)