diff options
author | Philip Chimento <philip@endlessm.com> | 2019-09-13 17:30:43 -0700 |
---|---|---|
committer | Philip Chimento <philip@endlessm.com> | 2019-09-16 14:09:40 -0700 |
commit | 9f6af56999aa2a9a607a6faec55c11c2362dc097 (patch) | |
tree | d8aa8fdb56d14fe4d1fd2db28727b00b3fe1f457 /tests | |
parent | 3fd10e7b8ebd06b9a04883ada5243a1741bfee03 (diff) | |
download | gnome-control-center-9f6af56999aa2a9a607a6faec55c11c2362dc097.tar.gz |
tests: Hide disabled test from compiler
The part where this (currently disabled) test is added, is currently
hidden behind #if 0, so hide the test function as well. Otherwise the
compiler complains that the function isn't used.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/network/test-network-panel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/network/test-network-panel.c b/tests/network/test-network-panel.c index 7ee765914..1f89e2187 100644 --- a/tests/network/test-network-panel.c +++ b/tests/network/test-network-panel.c @@ -121,6 +121,7 @@ fixture_set_up_wired (NetworkPanelFixture *fixture, /*****************************************************************************/ +#if 0 /* See /network-panel-wired/vpn-sorting note */ static GtkWidget* find_parent_of_type(GtkWidget *widget, GType parent) { @@ -132,6 +133,7 @@ find_parent_of_type(GtkWidget *widget, GType parent) return NULL; } +#endif /*****************************************************************************/ @@ -530,6 +532,7 @@ test_vpn_updating (NetworkPanelFixture *fixture, /*****************************************************************************/ +#if 0 /* See note below, where this test is added */ static void test_vpn_sorting (NetworkPanelFixture *fixture, gconstpointer user_data) @@ -636,6 +639,7 @@ test_vpn_sorting (NetworkPanelFixture *fixture, g_assert_cmpint (g_list_index (list, a), <, g_list_index (list, b)); g_list_free (list); } +#endif /*****************************************************************************/ |