aboutsummaryrefslogtreecommitdiffstats
path: root/tests/message_sizes/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/message_sizes/SConscript')
-rw-r--r--tests/message_sizes/SConscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/message_sizes/SConscript b/tests/message_sizes/SConscript
new file mode 100644
index 00000000..e7524e02
--- /dev/null
+++ b/tests/message_sizes/SConscript
@@ -0,0 +1,11 @@
+# Test the generation of message size #defines
+
+Import('env')
+
+incpath = env.Clone()
+incpath.Append(PROTOCPATH = '#message_sizes')
+
+incpath.NanopbProto("messages1")
+incpath.NanopbProto("messages2")
+
+incpath.Program(['dummy.c', 'messages1.pb.c', 'messages2.pb.c'])