diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-11-14 21:59:31 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-11-14 21:59:31 -0800 |
commit | 868f118797969cd0178d38207330e410267e6c46 (patch) | |
tree | 650c891eae81fc946e24e3a1cf0e9ee3e3c09c55 /Makefile | |
parent | 7cde43ea0abf2022a0c800c7af1d5f1ec2033bea (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-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 \ |