summaryrefslogtreecommitdiffstats
path: root/tests/basic_buffer
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-11-13 22:10:42 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-11-13 22:10:42 +0200
commit5813144246f8f132f90bea117e578477914be0ea (patch)
tree3240f066191fe124d67996f9b8b87dc789476a3f /tests/basic_buffer
parent171d64734a34674cd648ac7b8569b4b21285fed4 (diff)
Make tests build in a separate folder, add to gitignore
Diffstat (limited to 'tests/basic_buffer')
-rw-r--r--tests/basic_buffer/SConscript6
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"])