tests/regression/issue_395/SConscript
raw| 1 | # Regression test for #395: |
| 2 | # Unexpected empty submessage in proto3 mode |
| 3 | |
| 4 | Import("env") |
| 5 | |
| 6 | env.NanopbProto(["test.proto", "test.options"]) |
| 7 | testprog = env.Program(["test.c", |
| 8 | "test.pb.c", |
| 9 | "$COMMON/pb_encode.o", |
| 10 | "$COMMON/pb_decode.o", |
| 11 | "$COMMON/pb_common.o"]) |
| 12 | |
| 13 | env.RunTest(testprog) |
| 14 |