aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/nanopb/tests/intsizes/SConscript
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2016-10-13 09:39:05 -0700
committerGravatar Vijay Pai <vpai@google.com>2016-10-13 09:39:05 -0700
commit22fcbf966324724e5a9224b073de5efd5fcf471f (patch)
tree3130dfe7b61ddd01493d152feeb1c3b82be32ac9 /third_party/nanopb/tests/intsizes/SConscript
parentdb5b1cbc9483b78458ca529df5603bb15c982d63 (diff)
parentd44144c3b2112ed61a21c08331bfe9e18664ceb3 (diff)
Merge branch 'master' into fc_1dstream
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)