diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-12-26 18:24:23 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-12-26 23:27:29 +0200 |
commit | 1515cfb5c24f64fd046c5b5f3cdfdcb153c72df7 (patch) | |
tree | a00c74d4f6ae4c8e3311697ee36f5b87b757ca1e /tests/mem_release/SConscript | |
parent | 418f7d88b3f58603fe03d0060b8aaba905ca56c8 (diff) |
Add testcase for releasing memory in submessages/extensions
Diffstat (limited to 'tests/mem_release/SConscript')
-rw-r--r-- | tests/mem_release/SConscript | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/mem_release/SConscript b/tests/mem_release/SConscript new file mode 100644 index 00000000..6754e285 --- /dev/null +++ b/tests/mem_release/SConscript @@ -0,0 +1,13 @@ +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) + |