[dconf] tests: work around a GLib issue



commit e0724e2f74b93970f5a4a2099c4444611b8f14e3
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Feb 11 14:06:52 2013 -0500

    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.

 tests/dbus.c |    4 ++--
 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 ();
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]