8aa45b6b802cc5b9bffc99d8dcdf882db08e3ed3
[apps/agl-service-can-low-level.git] / tests / alltypes / SConscript
1 # Build and run a test that encodes and decodes a message that contains
2 # all of the Protocol Buffers data types.
3
4 Import("env")
5
6 env.NanopbProto("alltypes")
7 enc = env.Program(["encode_alltypes.c", "alltypes.pb.c", "#common/pb_encode.o"])
8 dec = env.Program(["decode_alltypes.c", "alltypes.pb.c", "#common/pb_decode.o"])
9
10 env.RunTest(enc)
11 env.RunTest([dec, "encode_alltypes.output"])
12