summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2013-02-11 14:06:52 -0500
committerRyan Lortie <desrt@desrt.ca>2013-02-11 14:09:12 -0500
commite0724e2f74b93970f5a4a2099c4444611b8f14e3 (patch)
treebca0a06ccecfbd3fc3825fb97eb9dd4e4ee54ee1
parent4c516a76f55d75ecfa1b985adb1905cac945f3fe (diff)
downloaddconf-e0724e2f74b93970f5a4a2099c4444611b8f14e3.tar.gz
tests: work around a GLib issue
gtestutils recently changed the order in which testcases are run, by grouping cases with similar paths together. Our D-Bus test depends on one of its cases running before the others. Change the way the tests are grouped in order to ensure that this keeps happening.
-rw-r--r--tests/dbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dbus.c b/tests/dbus.c
index 434b752..f11be97 100644
--- a/tests/dbus.c
+++ b/tests/dbus.c
@@ -425,8 +425,8 @@ main (int argc, char **argv)
g_test_add_func (DBUS_BACKEND "/sync-call/error", test_sync_call_error);
g_test_add_func (DBUS_BACKEND "/async-call/success", test_async_call_success);
g_test_add_func (DBUS_BACKEND "/async-call/error", test_async_call_error);
- g_test_add_func (DBUS_BACKEND "/sync-during-async", test_sync_during_async);
- g_test_add_func (DBUS_BACKEND "/signal-receipt", test_signal_receipt);
+ g_test_add_func (DBUS_BACKEND "/sync-call/during-async", test_sync_during_async);
+ g_test_add_func (DBUS_BACKEND "/signal/receipt", test_signal_receipt);
return g_test_run ();
}