Home | History | Annotate | Download | only in backwards_compatibility
      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 
     12