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/basic_buffer | |
parent | 171d64734a34674cd648ac7b8569b4b21285fed4 (diff) |
Make tests build in a separate folder, add to gitignore
Diffstat (limited to 'tests/basic_buffer')
-rw-r--r-- | tests/basic_buffer/SConscript | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/basic_buffer/SConscript b/tests/basic_buffer/SConscript index 349fb14f..2546aaa3 100644 --- a/tests/basic_buffer/SConscript +++ b/tests/basic_buffer/SConscript @@ -2,11 +2,11 @@ Import("env") -enc = env.Program(["encode_buffer.c", "#common/person.pb.c", "#common/pb_encode.o"]) -dec = env.Program(["decode_buffer.c", "#common/person.pb.c", "#common/pb_decode.o"]) +enc = env.Program(["encode_buffer.c", "$COMMON/person.pb.c", "$COMMON/pb_encode.o"]) +dec = env.Program(["decode_buffer.c", "$COMMON/person.pb.c", "$COMMON/pb_decode.o"]) env.RunTest(enc) env.RunTest([dec, "encode_buffer.output"]) -env.Decode(["encode_buffer.output", "#common/person.proto"], MESSAGE = "Person") +env.Decode(["encode_buffer.output", "$COMMON/person.proto"], MESSAGE = "Person") env.Compare(["decode_buffer.output", "encode_buffer.decoded"]) |