summaryrefslogtreecommitdiffstats
path: root/CAN-binder/libs/nanopb/tests/mem_release/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'CAN-binder/libs/nanopb/tests/mem_release/SConscript')
-rw-r--r--CAN-binder/libs/nanopb/tests/mem_release/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/CAN-binder/libs/nanopb/tests/mem_release/SConscript b/CAN-binder/libs/nanopb/tests/mem_release/SConscript
new file mode 100644
index 00000000..6754e285
--- /dev/null
+++ b/CAN-binder/libs/nanopb/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)
+