summaryrefslogtreecommitdiffstats
path: root/tests/intsizes/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/intsizes/SConscript')
-rw-r--r--tests/intsizes/SConscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/intsizes/SConscript b/tests/intsizes/SConscript
new file mode 100644
index 00000000..a90680bc
--- /dev/null
+++ b/tests/intsizes/SConscript
@@ -0,0 +1,12 @@
+# Test that the int_size option in .proto works.
+
+Import('env')
+
+env.NanopbProto('intsizes')
+
+p = env.Program(["intsizes_unittests.c",
+ "intsizes.pb.c",
+ "$COMMON/pb_encode.o",
+ "$COMMON/pb_decode.o",
+ "$COMMON/pb_common.o"])
+env.RunTest(p)