summaryrefslogtreecommitdiff
path: root/libappstream-builder
diff options
context:
space:
mode:
Diffstat (limited to 'libappstream-builder')
-rw-r--r--libappstream-builder/asb-self-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libappstream-builder/asb-self-test.c b/libappstream-builder/asb-self-test.c
index 71b3c73..d6fbfe8 100644
--- a/libappstream-builder/asb-self-test.c
+++ b/libappstream-builder/asb-self-test.c
@@ -317,6 +317,8 @@ asb_test_context_test_func (AsbTestContextMode mode)
for (i = 0; filenames[i] != NULL; i++) {
_cleanup_free_ gchar *filename = NULL;
filename = asb_test_get_filename (filenames[i]);
+ if (filename == NULL)
+ g_warning ("%s not found", filenames[i]);
g_assert (filename != NULL);
ret = asb_context_add_filename (ctx, filename, &error);
g_assert_no_error (error);