diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-07-16 20:02:03 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-07-16 20:02:03 +0000 |
commit | 72916a993acedb47425400f0f2e553dc537bdb3e (patch) | |
tree | 01ab3f0f5d63fe5213118a3a3d4655439d1d6118 | |
parent | cea239c29a9af7f7132dc97afb58c613d891c274 (diff) | |
parent | 0196545074366e2f35bc11dcb69f081b39cde1a6 (diff) | |
download | ayatana-indicator-session-72916a993acedb47425400f0f2e553dc537bdb3e.tar.gz ayatana-indicator-session-72916a993acedb47425400f0f2e553dc537bdb3e.tar.bz2 ayatana-indicator-session-72916a993acedb47425400f0f2e553dc537bdb3e.zip |
Fix a test failure on PPC architectures.
Approved by PS Jenkins bot, Lars Uebernickel.
-rw-r--r-- | tests/test-service.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test-service.cc b/tests/test-service.cc index 2027ec0..e69b574 100644 --- a/tests/test-service.cc +++ b/tests/test-service.cc @@ -88,7 +88,7 @@ class ServiceTest: public GTestDBusFixture GSList * menu_references; - bool any_item_changed; + gboolean any_item_changed; static void on_items_changed (GMenuModel * model G_GNUC_UNUSED, gint position G_GNUC_UNUSED, @@ -149,7 +149,7 @@ class ServiceTest: public GTestDBusFixture super :: SetUp (); menu_references = NULL; - any_item_changed = NULL; + any_item_changed = FALSE; timer = g_timer_new (); mock_settings = g_settings_new ("com.canonical.indicator.session.backendmock"); @@ -231,6 +231,7 @@ class ServiceTest: public GTestDBusFixture any_item_changed = false; while (!times_up() && !any_item_changed) wait_msec (50); + g_warn_if_fail (any_item_changed); sync_menu (); } |