tests/regression/issue_558/SConscript
raw| 1 | # Regression test for #558: |
| 2 | # Manually defining proto3:true on a field with default value incorrectly omits it when encoding. |
| 3 | |
| 4 | Import("env") |
| 5 | env.NanopbProto("mixed") |
| 6 | |
| 7 | test = env.Program(["mixed.c", "mixed.pb.c", "$COMMON/pb_encode.o", "$COMMON/pb_decode.o", "$COMMON/pb_common.o"]) |
| 8 | env.RunTest(test) |