aboutsummaryrefslogtreecommitdiffstats
path: root/libs/nanopb/tests/regression/issue_166/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nanopb/tests/regression/issue_166/SConscript')
-rw-r--r--libs/nanopb/tests/regression/issue_166/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/nanopb/tests/regression/issue_166/SConscript b/libs/nanopb/tests/regression/issue_166/SConscript
new file mode 100644
index 00000000..c50b9193
--- /dev/null
+++ b/libs/nanopb/tests/regression/issue_166/SConscript
@@ -0,0 +1,13 @@
+# Verify that the maximum encoded size is calculated properly
+# for enums.
+
+Import('env')
+
+env.NanopbProto('enums')
+
+p = env.Program(["enum_encoded_size.c",
+ "enums.pb.c",
+ "$COMMON/pb_encode.o",
+ "$COMMON/pb_common.o"])
+env.RunTest(p)
+