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