aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2012-10-21 21:31:20 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2012-10-21 21:31:20 +0300
commitbffd3a9accd748f20ad4a2d75942893684b90d81 (patch)
treed96ba6953dbc1687c299fc5e974e5da0bcb6f46d /tests/Makefile
parentdcab39a41c0a403db38860c22426075e6ae9f25d (diff)
Improve the person_with_extra_field test.
Added a field after the extra field to verify it's also ok.
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 73efbe63..76561759 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -71,7 +71,7 @@ run_unittests: decode_unittests encode_unittests test_cxxcompile test_encode1 te
"`./test_encode2 | protoc --decode=Person -I. -I../generator -I/usr/include person.proto`" ]
[ "`./test_decode2 < person_with_extra_field.pb`" = \
- "`cat person_with_extra_field.txt`" ]
+ "`./test_encode2 | ./test_decode2`" ]
[ "`./test_encode_callbacks | ./test_decode_callbacks`" = \
"`./test_encode_callbacks | protoc --decode=TestMessage callbacks.proto`" ]