aboutsummaryrefslogtreecommitdiff
path: root/tests/intsizes/SConscript
diff options
context:
space:
mode:
authorYu Shan <shanyu@google.com>2018-08-16 17:29:23 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-08-16 17:29:23 -0700
commitb0f82e0ec5609497f1da885370a95e8f162ce47a (patch)
tree9aa05df75ba4f5da6459d0192fb5f937a34eaa90 /tests/intsizes/SConscript
parent8863e422936e9dcd96ef75db8e7d735884b16787 (diff)
parent86bd676e064ac4336400328f34bf187a7794464e (diff)
downloadnanopb-c-b0f82e0ec5609497f1da885370a95e8f162ce47a.tar.gz
Upgrade nanopb to 0.3.9.1
am: 86bd676e06 Change-Id: Ib7ddacb28606b0c063ff5e6feabb3280be25e4ee
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 0000000..a90680b
--- /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)