From 868f118797969cd0178d38207330e410267e6c46 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sat, 14 Nov 2009 21:59:31 -0800 Subject: 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. --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 \ -- cgit v1.2.3