aboutsummaryrefslogtreecommitdiffstats
path: root/libs/nanopb/tests/regression/issue_247/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nanopb/tests/regression/issue_247/SConscript')
-rw-r--r--libs/nanopb/tests/regression/issue_247/SConscript14
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/nanopb/tests/regression/issue_247/SConscript b/libs/nanopb/tests/regression/issue_247/SConscript
new file mode 100644
index 00000000..b41e9f29
--- /dev/null
+++ b/libs/nanopb/tests/regression/issue_247/SConscript
@@ -0,0 +1,14 @@
+# Test that pb_check_proto3_default_value() correctly skips padding
+# bytes in submessage structures.
+
+Import("env")
+
+env.NanopbProto("padding")
+
+p = env.Program(["padding.c",
+ "padding.pb.c",
+ "$COMMON/pb_encode.o",
+ "$COMMON/pb_common.o"])
+
+env.RunTest(p)
+