Import("env", "malloc_env")

env.NanopbProto("mem_release.proto")

test = malloc_env.Program(["mem_release.c",
                    "mem_release.pb.c",
                    "$COMMON/pb_encode_with_malloc.o",
                    "$COMMON/pb_decode_with_malloc.o",
                    "$COMMON/pb_common_with_malloc.o",
                    "$COMMON/malloc_wrappers.o"])

env.RunTest(test)