diff options
Diffstat (limited to 'dbus/dbus-test.c')
-rw-r--r-- | dbus/dbus-test.c | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/dbus/dbus-test.c b/dbus/dbus-test.c index df45ba6f..8654d86e 100644 --- a/dbus/dbus-test.c +++ b/dbus/dbus-test.c @@ -118,6 +118,16 @@ dbus_internal_do_not_use_run_tests (const char *test_data_dir) check_memleaks (); +#if 1 + printf ("%s: running recursive marshalling tests\n", "dbus-test"); + if (!_dbus_marshal_recursive_test ()) + die ("recursive marshal"); + + check_memleaks (); +#else + _dbus_warn ("recursive marshal tests disabled\n"); +#endif + printf ("%s: running memory tests\n", "dbus-test"); if (!_dbus_memory_test ()) die ("memory"); @@ -135,6 +145,18 @@ dbus_internal_do_not_use_run_tests (const char *test_data_dir) die ("lists"); check_memleaks (); + + printf ("%s: running validation tests\n", "dbus-test"); + if (!_dbus_marshal_validate_test ()) + die ("validation"); + + check_memleaks (); + + printf ("%s: running header marshal tests\n", "dbus-test"); + if (!_dbus_marshal_header_test ()) + die ("header marshal"); + + check_memleaks (); printf ("%s: running message tests\n", "dbus-test"); if (!_dbus_message_test (test_data_dir)) @@ -197,5 +219,3 @@ dbus_internal_do_not_use_run_tests (const char *test_data_dir) printf ("Not compiled with unit tests, not running any\n"); #endif } - - |