Backport mem_release testcase from 0.3.1.

Also backports cdbf51 generator bugfix.
This commit is contained in:
Petteri Aimonen
2014-12-26 17:08:17 +02:00
parent 45fc9f3ef6
commit 83157e3362
14 changed files with 200 additions and 54 deletions

View File

@@ -0,0 +1,12 @@
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/malloc_wrappers.o"])
env.RunTest(test)