aboutsummaryrefslogtreecommitdiffstats
path: root/libs/nanopb/tests/regression/issue_242/SConscript
blob: 000063ef65af1bdbda17341f2469a7b276202ff3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Regression test for Issue 242: pb_encode does not encode tag for
# extension fields that is all zeros
Import('env')

env.NanopbProto('zero_value')

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