aboutsummaryrefslogtreecommitdiff
path: root/tests/regression/issue_395/SConscript
blob: 8bc10303c37fef4d14d34dfde522b58a81996265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Regression test for #395:
# Unexpected empty submessage in proto3 mode

Import("env")

env.NanopbProto(["test.proto", "test.options"])
testprog = env.Program(["test.c",
                 "test.pb.c",
                 "$COMMON/pb_encode.o",
                 "$COMMON/pb_decode.o",
                 "$COMMON/pb_common.o"])

env.RunTest(testprog)