summaryrefslogtreecommitdiff
path: root/tests/test_handlers.c
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2014-08-31 15:07:37 -0700
committerJosh Haberman <jhaberman@gmail.com>2014-08-31 15:07:37 -0700
commit6ed916653f67b93eba27e6594c0ff1b526de8ad9 (patch)
tree7372b5f01e7df7fc96158b5cb6e15b701c222e67 /tests/test_handlers.c
parentba87fcd84b24d16b998663b8b48b4a4d464ed66c (diff)
Rewrite of build system.
Notable changes: - We now only build things by default that require no dependencies. So you can build upb even if you don't have Lua or Google protobuf installed. - Checked in a pre-built version of the JIT, so you don't need Lua installed at build time to run DynASM. It will still notice if you change the .dasc file and attempt to re-run DynASM in that case. - The build system now builds all modules of upb into separate libraries, reflecting the modularity that is already inherent in upb's design. This should make it easier to trim the fat. - removed the GDB JIT interface. I wasn't using it much; using a .so is easier and more robust.
Diffstat (limited to 'tests/test_handlers.c')
-rw-r--r--tests/test_handlers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_handlers.c b/tests/test_handlers.c
index ad59465..951f2c5 100644
--- a/tests/test_handlers.c
+++ b/tests/test_handlers.c
@@ -18,6 +18,7 @@ static bool startmsg(void *c, const void *hd) {
}
static void test_error() {
+ // Test creating handlers of a static msgdef.
const upb_symtab *s = upbdefs_google_protobuf_descriptor(&s);
upb_handlers *h =
upb_handlers_new(upbdefs_google_protobuf_DescriptorProto(s), &h);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback