From 1515cfb5c24f64fd046c5b5f3cdfdcb153c72df7 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Fri, 26 Dec 2014 18:24:23 +0200 Subject: Add testcase for releasing memory in submessages/extensions --- tests/mem_release/SConscript | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/mem_release/SConscript (limited to 'tests/mem_release/SConscript') 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) + -- cgit 1.2.3-korg