SConscript 349 B

12345678910111213
  1. # Test that multiple .proto files don't cause name collisions.
  2. Import("env")
  3. incpath = env.Clone()
  4. incpath.Append(PROTOCPATH = '#multiple_files')
  5. incpath.NanopbProto(["multifile1", "multifile1.options"])
  6. incpath.NanopbProto("multifile2")
  7. test = incpath.Program(["test_multiple_files.c", "multifile1.pb.c", "multifile2.pb.c"])
  8. env.RunTest(test)