summaryrefslogtreecommitdiffstats
path: root/CAN-binder/libs/nanopb/tests/missing_fields/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'CAN-binder/libs/nanopb/tests/missing_fields/SConscript')
-rw-r--r--CAN-binder/libs/nanopb/tests/missing_fields/SConscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/CAN-binder/libs/nanopb/tests/missing_fields/SConscript b/CAN-binder/libs/nanopb/tests/missing_fields/SConscript
new file mode 100644
index 00000000..86ba0833
--- /dev/null
+++ b/CAN-binder/libs/nanopb/tests/missing_fields/SConscript
@@ -0,0 +1,8 @@
+# Check that the decoder properly detects when required fields are missing.
+
+Import("env")
+
+env.NanopbProto("missing_fields")
+test = env.Program(["missing_fields.c", "missing_fields.pb.c", "$COMMON/pb_encode.o", "$COMMON/pb_decode.o", "$COMMON/pb_common.o"])
+env.RunTest(test)
+