From 5813144246f8f132f90bea117e578477914be0ea Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Wed, 13 Nov 2013 22:10:42 +0200 Subject: Make tests build in a separate folder, add to gitignore --- tests/basic_buffer/SConscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/basic_buffer/SConscript') 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"]) -- cgit 1.2.3-korg