From a641e21b34aed824b6b919f7ab9937eaadf09473 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sun, 10 Aug 2014 12:42:01 +0300 Subject: Separate field iterator logic from pb_decode to pb_common. --- tests/field_size_32/SConscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/field_size_32/SConscript') diff --git a/tests/field_size_32/SConscript b/tests/field_size_32/SConscript index 2a64c6c5..0b8dc0e3 100644 --- a/tests/field_size_32/SConscript +++ b/tests/field_size_32/SConscript @@ -19,10 +19,11 @@ strict = opts.Clone() strict.Append(CFLAGS = strict['CORECFLAGS']) strict.Object("pb_decode_fields32.o", "$NANOPB/pb_decode.c") strict.Object("pb_encode_fields32.o", "$NANOPB/pb_encode.c") +strict.Object("pb_common_fields32.o", "$NANOPB/pb_common.c") # Now build and run the test normally. -enc = opts.Program(["encode_alltypes.c", "alltypes.pb.c", "pb_encode_fields32.o"]) -dec = opts.Program(["decode_alltypes.c", "alltypes.pb.c", "pb_decode_fields32.o"]) +enc = opts.Program(["encode_alltypes.c", "alltypes.pb.c", "pb_encode_fields32.o", "pb_common_fields32.o"]) +dec = opts.Program(["decode_alltypes.c", "alltypes.pb.c", "pb_decode_fields32.o", "pb_common_fields32.o"]) env.RunTest(enc) env.RunTest([dec, "encode_alltypes.output"]) -- cgit 1.2.3-korg