summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-test.c')
-rw-r--r--dbus/dbus-test.c52
1 files changed, 26 insertions, 26 deletions
diff --git a/dbus/dbus-test.c b/dbus/dbus-test.c
index 2d1b5477..f7d1c4ef 100644
--- a/dbus/dbus-test.c
+++ b/dbus/dbus-test.c
@@ -100,32 +100,6 @@ dbus_internal_do_not_use_run_tests (const char *test_data_dir)
check_memleaks ();
- printf ("%s: running keyring tests\n", "dbus-test");
- if (!_dbus_keyring_test ())
- die ("keyring");
-
- check_memleaks ();
-
-#if 0
- printf ("%s: running md5 tests\n", "dbus-test");
- if (!_dbus_md5_test ())
- die ("md5");
-
- check_memleaks ();
-#endif
-
- printf ("%s: running SHA-1 tests\n", "dbus-test");
- if (!_dbus_sha_test (test_data_dir))
- die ("SHA-1");
-
- check_memleaks ();
-
- printf ("%s: running auth tests\n", "dbus-test");
- if (!_dbus_auth_test (test_data_dir))
- die ("auth");
-
- check_memleaks ();
-
printf ("%s: running address parse tests\n", "dbus-test");
if (!_dbus_address_test ())
die ("address parsing");
@@ -162,6 +136,32 @@ dbus_internal_do_not_use_run_tests (const char *test_data_dir)
check_memleaks ();
+ printf ("%s: running keyring tests\n", "dbus-test");
+ if (!_dbus_keyring_test ())
+ die ("keyring");
+
+ check_memleaks ();
+
+#if 0
+ printf ("%s: running md5 tests\n", "dbus-test");
+ if (!_dbus_md5_test ())
+ die ("md5");
+
+ check_memleaks ();
+#endif
+
+ printf ("%s: running SHA-1 tests\n", "dbus-test");
+ if (!_dbus_sha_test (test_data_dir))
+ die ("SHA-1");
+
+ check_memleaks ();
+
+ printf ("%s: running auth tests\n", "dbus-test");
+ if (!_dbus_auth_test (test_data_dir))
+ die ("auth");
+
+ check_memleaks ();
+
printf ("%s: completed successfully\n", "dbus-test");
#else
printf ("Not compiled with unit tests, not running any\n");