summaryrefslogtreecommitdiffstats
path: root/CAN-binder/libs/nanopb/tests/inline/SConscript
blob: 34371fda18d52c19be3d17702bbff94e4345b77b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Test that inlined bytes fields work.

Import("env")

env.NanopbProto("inline")
env.Object("inline.pb.c")

env.Match(["inline.pb.h", "inline.expected"])

p = env.Program(["inline_unittests.c",
                 "inline.pb.c",
                 "$COMMON/pb_encode.o",
                 "$COMMON/pb_decode.o",
                 "$COMMON/pb_common.o"])

env.RunTest(p)