Separation Generator to a dedicated repo
[apps/agl-service-can-low-level.git] / libs / nanopb / tests / intsizes / SConscript
diff --git a/libs/nanopb/tests/intsizes/SConscript b/libs/nanopb/tests/intsizes/SConscript
new file mode 100644 (file)
index 0000000..a90680b
--- /dev/null
@@ -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)