[gnome-software] trivial: Add some debugging to debug a failure to find test files
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Add some debugging to debug a failure to find test files
- Date: Fri, 12 May 2017 16:07:50 +0000 (UTC)
commit a135ef8e07fe51c6a5ec794a28cabe4c0a25fa0d
Author: Richard Hughes <richard hughsie com>
Date: Fri May 12 12:06:38 2017 +0100
trivial: Add some debugging to debug a failure to find test files
lib/gs-test.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/gs-test.c b/lib/gs-test.c
index ef0cc89..18b601c 100644
--- a/lib/gs-test.c
+++ b/lib/gs-test.c
@@ -30,6 +30,7 @@ gs_test_get_filename (const gchar *testdatadir, const gchar *filename)
char full_tmp[PATH_MAX];
g_autofree gchar *path = NULL;
path = g_build_filename (testdatadir, filename, NULL);
+ g_debug ("looking in %s", path);
tmp = realpath (path, full_tmp);
if (tmp == NULL)
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]