1# Test that fixed count option works.
2
3Import("malloc_env")
4
5malloc_env.NanopbProto("fixed_count")
6malloc_env.Object("fixed_count.pb.c")
7
8p = malloc_env.Program(["fixed_count_unittests.c",
9                 "fixed_count.pb.c",
10                 "$COMMON/pb_encode_with_malloc.o",
11                 "$COMMON/pb_decode_with_malloc.o",
12                 "$COMMON/pb_common_with_malloc.o",
13                 "$COMMON/malloc_wrappers.o"])
14
15malloc_env.RunTest(p)
16