Merge branch 'dev_get_rid_of_ternary_operator'
[apps/agl-service-can-low-level.git] / tests / backwards_compatibility / SConscript
1 # Check that the old generated .pb.c/.pb.h files are still compatible with the
2 # current version of nanopb.
3
4 Import("env")
5
6 enc = env.Program(["encode_legacy.c", "alltypes_legacy.c", "#common/pb_encode.o"])
7 dec = env.Program(["decode_legacy.c", "alltypes_legacy.c", "#common/pb_decode.o"])
8
9 env.RunTest(enc)
10 env.RunTest([dec, "encode_legacy.output"])
11