diff options
Diffstat (limited to 'libappstream-glib/as-self-test.c')
-rw-r--r-- | libappstream-glib/as-self-test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libappstream-glib/as-self-test.c b/libappstream-glib/as-self-test.c index 53d3b29..24275cc 100644 --- a/libappstream-glib/as-self-test.c +++ b/libappstream-glib/as-self-test.c @@ -2893,6 +2893,7 @@ as_test_store_merges_local_func (void) static void as_test_store_cab_func (void) { +#ifdef HAVE_GCAB gboolean ret; const gchar *src; g_autoptr(GError) error = NULL; @@ -2945,6 +2946,7 @@ as_test_store_cab_func (void) ret = as_test_compare_lines (xml->str, src, &error); g_assert_no_error (error); g_assert (ret); +#endif } static void |