aboutsummaryrefslogtreecommitdiffstats
path: root/tests/no_errmsg
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-08-10 12:42:01 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-08-10 12:42:01 +0300
commita641e21b34aed824b6b919f7ab9937eaadf09473 (patch)
treecb7f5dbcc0043507e33f4443f860b76cec9c7553 /tests/no_errmsg
parent0150b98be60b1e123fa51c561a908c234b6379fe (diff)
Separate field iterator logic from pb_decode to pb_common.
Diffstat (limited to 'tests/no_errmsg')
-rw-r--r--tests/no_errmsg/SConscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/no_errmsg/SConscript b/tests/no_errmsg/SConscript
index ed467051..629bfa68 100644
--- a/tests/no_errmsg/SConscript
+++ b/tests/no_errmsg/SConscript
@@ -18,10 +18,11 @@ strict = opts.Clone()
strict.Append(CFLAGS = strict['CORECFLAGS'])
strict.Object("pb_decode_noerr.o", "$NANOPB/pb_decode.c")
strict.Object("pb_encode_noerr.o", "$NANOPB/pb_encode.c")
+strict.Object("pb_common_noerr.o", "$NANOPB/pb_common.c")
# Now build and run the test normally.
-enc = opts.Program(["encode_alltypes.c", "alltypes.pb.c", "pb_encode_noerr.o"])
-dec = opts.Program(["decode_alltypes.c", "alltypes.pb.c", "pb_decode_noerr.o"])
+enc = opts.Program(["encode_alltypes.c", "alltypes.pb.c", "pb_encode_noerr.o", "pb_common_noerr.o"])
+dec = opts.Program(["decode_alltypes.c", "alltypes.pb.c", "pb_decode_noerr.o", "pb_common_noerr.o"])
env.RunTest(enc)
env.RunTest([dec, "encode_alltypes.output"])