summaryrefslogtreecommitdiffstats
path: root/tests/multiple_files/SConscript
blob: c3a82eb41eee5ca1d81395bacfc16b87cab11451 (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("multifile1")
incpath.NanopbProto("multifile2")
test = incpath.Program(["test_multiple_files.c", "multifile1.pb.c", "multifile2.pb.c"])

env.RunTest(test)