aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/nanopb/tests/intsizes/SConscript
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-09-23 06:28:04 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-09-23 06:28:04 +0200
commit39937f73760b7cfc6be763d4b7e91b934df23fbe (patch)
tree11c90e51d1c93c82ab267b947cffff7eda0afbc4 /third_party/nanopb/tests/intsizes/SConscript
parentfe456e5b487717c25bde88f97c9029185130a2b9 (diff)
Putting nanopb files into third_party without being a submodule.
Diffstat (limited to 'third_party/nanopb/tests/intsizes/SConscript')
-rw-r--r--third_party/nanopb/tests/intsizes/SConscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/nanopb/tests/intsizes/SConscript b/third_party/nanopb/tests/intsizes/SConscript
new file mode 100644
index 0000000000..a90680bcfc
--- /dev/null
+++ b/third_party/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)