summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-12-05 19:54:38 -0800
committerJoshua Haberman <joshua@reverberate.org>2009-12-05 19:54:38 -0800
commit08b4a91204ff7174c381f887d87878d8bb1181ff (patch)
tree431f22caea40a3ccc7e78b020b5245ac9de40d21 /Makefile
parent651c92ab33187b34d7878ac57427bbbc062662fa (diff)
Add a test for circularly-linked descriptors.
The test currently triggers valgrind-detected memory errors.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9496ce5..cc30814 100644
--- a/Makefile
+++ b/Makefile
@@ -74,10 +74,15 @@ python: $(LIBUPB_PIC)
cd lang_ext/python && python setup.py build
# Tests
+tests/test.proto.pb: tests/test.proto
+ # TODO: replace with upbc
+ protoc tests/test.proto -otests/test.proto.pb
+
tests: tests/tests \
tests/test_table \
tests/t.test_vs_proto2.googlemessage1 \
- tests/t.test_vs_proto2.googlemessage2
+ tests/t.test_vs_proto2.googlemessage2 \
+ tests/test.proto.pb
#VALGRIND=valgrind --leak-check=full --error-exitcode=1
VALGRIND=
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback