diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-08-10 13:42:01 +0400 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-08-10 13:42:01 +0400 |
commit | a641e21b34aed824b6b919f7ab9937eaadf09473 (patch) | |
tree | cb7f5dbcc0043507e33f4443f860b76cec9c7553 /tests/alltypes_pointer | |
parent | 0150b98be60b1e123fa51c561a908c234b6379fe (diff) |
Separate field iterator logic from pb_decode to pb_common.
Diffstat (limited to 'tests/alltypes_pointer')
-rw-r--r-- | tests/alltypes_pointer/SConscript | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/alltypes_pointer/SConscript b/tests/alltypes_pointer/SConscript index e48d6aa..8fcf197 100644 --- a/tests/alltypes_pointer/SConscript +++ b/tests/alltypes_pointer/SConscript @@ -18,13 +18,14 @@ strict = env.Clone() strict.Append(CFLAGS = strict['CORECFLAGS']) strict.Object("pb_decode_with_malloc.o", "$NANOPB/pb_decode.c") strict.Object("pb_encode_with_malloc.o", "$NANOPB/pb_encode.c") +strict.Object("pb_common_with_malloc.o", "$NANOPB/pb_common.c") c = Copy("$TARGET", "$SOURCE") env.Command("alltypes.proto", "#alltypes/alltypes.proto", c) env.NanopbProto(["alltypes", "alltypes.options"]) -enc = env.Program(["encode_alltypes_pointer.c", "alltypes.pb.c", "pb_encode_with_malloc.o"]) -dec = env.Program(["decode_alltypes_pointer.c", "alltypes.pb.c", "pb_decode_with_malloc.o"]) +enc = env.Program(["encode_alltypes_pointer.c", "alltypes.pb.c", "pb_encode_with_malloc.o", "pb_common_with_malloc.o"]) +dec = env.Program(["decode_alltypes_pointer.c", "alltypes.pb.c", "pb_decode_with_malloc.o", "pb_common_with_malloc.o"]) # Encode and compare results to non-pointer alltypes test case env.RunTest(enc) |