diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2015-09-13 11:38:54 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2015-09-13 11:38:54 +0300 |
commit | 6e72df4808aa138f1396ad098ce2d06a6feba882 (patch) | |
tree | 4154ca61069643a2a668f016a3263b152efcdea1 /tests/regression/issue_166/SConscript | |
parent | 0b29baf5deaa4213c08ee71fa55d3d0b2ed709e4 (diff) |
Fix maximum encoded size for negative enums (issue #166).
Diffstat (limited to 'tests/regression/issue_166/SConscript')
-rw-r--r-- | tests/regression/issue_166/SConscript | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/regression/issue_166/SConscript b/tests/regression/issue_166/SConscript new file mode 100644 index 00000000..c50b9193 --- /dev/null +++ b/tests/regression/issue_166/SConscript @@ -0,0 +1,13 @@ +# Verify that the maximum encoded size is calculated properly +# for enums. + +Import('env') + +env.NanopbProto('enums') + +p = env.Program(["enum_encoded_size.c", + "enums.pb.c", + "$COMMON/pb_encode.o", + "$COMMON/pb_common.o"]) +env.RunTest(p) + |