diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-11-13 22:10:42 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-11-13 22:10:42 +0200 |
commit | 5813144246f8f132f90bea117e578477914be0ea (patch) | |
tree | 3240f066191fe124d67996f9b8b87dc789476a3f /tests/extensions/SConscript | |
parent | 171d64734a34674cd648ac7b8569b4b21285fed4 (diff) |
Make tests build in a separate folder, add to gitignore
Diffstat (limited to 'tests/extensions/SConscript')
-rw-r--r-- | tests/extensions/SConscript | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/extensions/SConscript b/tests/extensions/SConscript index f632a9ae..26fc5a3f 100644 --- a/tests/extensions/SConscript +++ b/tests/extensions/SConscript @@ -4,12 +4,12 @@ Import("env") # We use the files from the alltypes test case incpath = env.Clone() -incpath.Append(PROTOCPATH = '#alltypes') -incpath.Append(CPPPATH = '#alltypes') +incpath.Append(PROTOCPATH = '$BUILD/alltypes') +incpath.Append(CPPPATH = '$BUILD/alltypes') -incpath.NanopbProto("extensions") -enc = incpath.Program(["encode_extensions.c", "extensions.pb.c", "#alltypes/alltypes.pb$OBJSUFFIX", "#common/pb_encode.o"]) -dec = incpath.Program(["decode_extensions.c", "extensions.pb.c", "#alltypes/alltypes.pb$OBJSUFFIX", "#common/pb_decode.o"]) +incpath.NanopbProto(["extensions", "extensions.options"]) +enc = incpath.Program(["encode_extensions.c", "extensions.pb.c", "$BUILD/alltypes/alltypes.pb$OBJSUFFIX", "$COMMON/pb_encode.o"]) +dec = incpath.Program(["decode_extensions.c", "extensions.pb.c", "$BUILD/alltypes/alltypes.pb$OBJSUFFIX", "$COMMON/pb_decode.o"]) env.RunTest(enc) env.RunTest([dec, "encode_extensions.output"]) |