aboutsummaryrefslogtreecommitdiff
path: root/tests/multiple_files/SConscript
blob: 6b4f6b695b011cb651065f8e5d4e5085886a26de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Test that multiple .proto files don't cause name collisions.

Import("env")

incpath = env.Clone()
incpath.Append(PROTOCPATH = '#multiple_files')

incpath.NanopbProto("callbacks")
incpath.NanopbProto("callbacks2")
test = incpath.Program(["test_multiple_files.c", "callbacks.pb.c", "callbacks2.pb.c"])

env.RunTest(test)