mirror of
https://github.com/google/pebble.git
synced 2025-11-25 08:42:24 -05:00
Import of the watch repository from Pebble
This commit is contained in:
11
third_party/nanopb/tests/backwards_compatibility/SConscript
vendored
Normal file
11
third_party/nanopb/tests/backwards_compatibility/SConscript
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# Check that the old generated .pb.c/.pb.h files are still compatible with the
|
||||
# current version of nanopb.
|
||||
|
||||
Import("env")
|
||||
|
||||
enc = env.Program(["encode_legacy.c", "alltypes_legacy.c", "$COMMON/pb_encode.o", "$COMMON/pb_common.o"])
|
||||
dec = env.Program(["decode_legacy.c", "alltypes_legacy.c", "$COMMON/pb_decode.o", "$COMMON/pb_common.o"])
|
||||
|
||||
env.RunTest(enc)
|
||||
env.RunTest([dec, "encode_legacy.output"])
|
||||
|
||||
Reference in New Issue
Block a user