3c8adc482f5bbfeea369556c18a0d0bb20694f52
[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 env.Program(["encode_alltypes.c", "alltypes.pb.c", "#common/pb_encode.o"])
8 env.Program(["decode_alltypes.c", "alltypes.pb.c", "#common/pb_decode.o"])
9
10 env.RunTest("encode_alltypes")
11 env.RunTest(["decode_alltypes", "encode_alltypes.output"])
12