summaryrefslogtreecommitdiffstats
path: root/tests/regression/issue_229/SConscript
blob: b0f8376d68d57dbfb2ab7a1e86ab75cac95601ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Regression test for Issue 229: problem encoding message that has
# multiple oneof fields
Import('env')

env.NanopbProto('multiple_oneof')

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