X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dbus%2Fdbus-test.c;h=224a6c8cee6f594b622a4375e81cd5b2b7abb510;hb=757b80b9711d9733798c927495d74c7323e95400;hp=b2eeb724e954f1826997a4e0430f74881bd240fc;hpb=ef8d0d75d538db543ab0ff68809656f3972e3848;p=platform%2Fupstream%2Fdbus.git diff --git a/dbus/dbus-test.c b/dbus/dbus-test.c index b2eeb72..224a6c8 100644 --- a/dbus/dbus-test.c +++ b/dbus/dbus-test.c @@ -63,9 +63,9 @@ run_test (const char *test_name, printf ("%s: running %s tests\n", "dbus-test", test_name); if (!test ()) die (test_name); - } - check_memleaks (); + check_memleaks (); + } } static void @@ -79,9 +79,9 @@ run_data_test (const char *test_name, printf ("%s: running %s tests\n", "dbus-test", test_name); if (!test (test_data_dir)) die (test_name); - } - check_memleaks (); + check_memleaks (); + } } #endif /* DBUS_BUILD_TESTS */ @@ -128,15 +128,7 @@ dbus_internal_do_not_use_run_tests (const char *test_data_dir, const char *speci run_test ("marshalling", specific_test, _dbus_marshal_test); -#if 0 - printf ("%s: running recursive marshalling tests\n", "dbus-test"); - if (!_dbus_marshal_recursive_test ()) - die ("recursive marshal"); - - check_memleaks (); -#else - printf ("SKIP: recursive marshal tests disabled\n"); -#endif + run_test ("marshal-recursive", specific_test, _dbus_marshal_recursive_test); run_test ("byteswap", specific_test, _dbus_marshal_byteswap_test); @@ -162,6 +154,8 @@ dbus_internal_do_not_use_run_tests (const char *test_data_dir, const char *speci #ifdef DBUS_UNIX run_data_test ("userdb", specific_test, _dbus_userdb_test, test_data_dir); + + run_test ("transport-unix", specific_test, _dbus_transport_unix_test); #endif run_test ("keyring", specific_test, _dbus_keyring_test);