diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2017-02-12 10:45:07 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2017-02-12 10:50:05 +0200 |
commit | 9dd81c51b3c64221117ad2c71daff0980baaf1c2 (patch) | |
tree | 4cd3824e3f4438a4f397f2f84fa707642274f823 /tests/regression/issue_242/SConscript | |
parent | afdbca39edfaef58073f661d23300e1133c4e8af (diff) |
Add regression test for issue 242
Diffstat (limited to 'tests/regression/issue_242/SConscript')
-rw-r--r-- | tests/regression/issue_242/SConscript | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/regression/issue_242/SConscript b/tests/regression/issue_242/SConscript new file mode 100644 index 00000000..000063ef --- /dev/null +++ b/tests/regression/issue_242/SConscript @@ -0,0 +1,13 @@ +# Regression test for Issue 242: pb_encode does not encode tag for +# extension fields that is all zeros +Import('env') + +env.NanopbProto('zero_value') + +p = env.Program(["zero_value.c", + "zero_value.pb.c", + "$COMMON/pb_decode.o", + "$COMMON/pb_encode.o", + "$COMMON/pb_common.o"]) +env.RunTest(p) + |