summaryrefslogtreecommitdiffstats
path: root/tests/basic_stream
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_stream
parent171d64734a34674cd648ac7b8569b4b21285fed4 (diff)
Make tests build in a separate folder, add to gitignore
Diffstat (limited to 'tests/basic_stream')
-rw-r--r--tests/basic_stream/SConscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/basic_stream/SConscript b/tests/basic_stream/SConscript
index 17382a98..46db8c43 100644
--- a/tests/basic_stream/SConscript
+++ b/tests/basic_stream/SConscript
@@ -2,11 +2,11 @@
Import("env")
-enc = env.Program(["encode_stream.c", "#common/person.pb.c", "#common/pb_encode.o"])
-dec = env.Program(["decode_stream.c", "#common/person.pb.c", "#common/pb_decode.o"])
+enc = env.Program(["encode_stream.c", "$COMMON/person.pb.c", "$COMMON/pb_encode.o"])
+dec = env.Program(["decode_stream.c", "$COMMON/person.pb.c", "$COMMON/pb_decode.o"])
env.RunTest(enc)
env.RunTest([dec, "encode_stream.output"])
-env.Decode(["encode_stream.output", "#common/person.proto"], MESSAGE = "Person")
+env.Decode(["encode_stream.output", "$COMMON/person.proto"], MESSAGE = "Person")
env.Compare(["decode_stream.output", "encode_stream.decoded"])