aboutsummaryrefslogtreecommitdiff
path: root/tests/fixed_count/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fixed_count/SConscript')
-rw-r--r--tests/fixed_count/SConscript14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/fixed_count/SConscript b/tests/fixed_count/SConscript
new file mode 100644
index 0000000..3cecb12
--- /dev/null
+++ b/tests/fixed_count/SConscript
@@ -0,0 +1,14 @@
+# Test that fixed count option works.
+
+Import("env")
+
+env.NanopbProto("fixed_count")
+env.Object("fixed_count.pb.c")
+
+p = env.Program(["fixed_count_unittests.c",
+ "fixed_count.pb.c",
+ "$COMMON/pb_encode.o",
+ "$COMMON/pb_decode.o",
+ "$COMMON/pb_common.o"])
+
+env.RunTest(p)