aboutsummaryrefslogtreecommitdiffstats
path: root/tests/basic_buffer/SConscript
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-09-10 17:44:32 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-09-10 17:53:07 +0300
commitf04ab838abd90fb70f7d6ef77fdacdf07f09ba4d (patch)
tree00d3d7834953f6ca2b7a804fe02bfd95f795c6e6 /tests/basic_buffer/SConscript
parente681dd0d75a4b6a7974cc898477f3a138f7872c2 (diff)
Build fixes for Windows/Visual C++
Diffstat (limited to 'tests/basic_buffer/SConscript')
-rw-r--r--tests/basic_buffer/SConscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/basic_buffer/SConscript b/tests/basic_buffer/SConscript
index 5b85e132..349fb14f 100644
--- a/tests/basic_buffer/SConscript
+++ b/tests/basic_buffer/SConscript
@@ -2,11 +2,11 @@
Import("env")
-env.Program(["encode_buffer.c", "#common/person.pb.c", "#common/pb_encode.o"])
-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("encode_buffer")
-env.RunTest(["decode_buffer", "encode_buffer.output"])
+env.RunTest(enc)
+env.RunTest([dec, "encode_buffer.output"])
env.Decode(["encode_buffer.output", "#common/person.proto"], MESSAGE = "Person")
env.Compare(["decode_buffer.output", "encode_buffer.decoded"])