summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-11-14 21:59:31 -0800
committerJoshua Haberman <joshua@reverberate.org>2009-11-14 21:59:31 -0800
commit868f118797969cd0178d38207330e410267e6c46 (patch)
tree650c891eae81fc946e24e3a1cf0e9ee3e3c09c55 /Makefile
parent7cde43ea0abf2022a0c800c7af1d5f1ec2033bea (diff)
Changed parse API to know about msgdefs.
This should make it both easier to use and easier to optimize, in exchange for a small amount of generality. In practice, any remotely normal case is still very natural.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bbc2ce2..ab4aa4c 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,7 @@ clean:
rm -rf benchmark/google_messages.proto.pb benchmark/google_messages.pb.* benchmarks/b.* benchmarks/*.pb*
rm -rf tests/tests tests/t.* tests/test_table
rm -rf descriptor/descriptor.proto.pb
+ rm -rf tools/upbc deps
cd lang_ext/python && python setup.py clean --all
# The core library (src/libupb.a)
@@ -86,8 +87,10 @@ test: tests
# Needs to be rewritten to separate the benchmark.
# valgrind --error-exitcode=1 ./tests/test_table
@for test in tests/t.* ; do \
- echo $(VALGRIND) ./$$test; \
- $(VALGRIND) ./$$test; \
+ if [ -f ./$$test ] ; then \
+ echo $(VALGRIND) ./$$test: \\c; \
+ $(VALGRIND) ./$$test; \
+ fi \
done;
tests/t.test_vs_proto2.googlemessage1 \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback