tests/regression/issue_363/SConscript
raw| 1 | # Regression test for #363: |
| 2 | # Incorrect PB_STATIC_ASSERT for bytes inside oneof |
| 3 | |
| 4 | Import("env") |
| 5 | |
| 6 | env.NanopbProto("oneofmsg.proto") |
| 7 | testprog = env.Program(["test_oneofmsg.c", |
| 8 | "oneofmsg.pb.c", |
| 9 | "$COMMON/pb_encode.o", |
| 10 | "$COMMON/pb_decode.o", |
| 11 | "$COMMON/pb_common.o"]) |
| 12 | |
| 13 | env.RunTest(testprog) |
| 14 |