[gnome-builder/wip/chergert/pipeline-merge] tests: add some debug helpers for unit test
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/pipeline-merge] tests: add some debug helpers for unit test
- Date: Mon, 13 Feb 2017 22:47:03 +0000 (UTC)
commit 5c27d3ae354894ccf8b817324edc15841022f8ef
Author: Christian Hergert <chergert redhat com>
Date: Mon Feb 13 14:46:48 2017 -0800
tests: add some debug helpers for unit test
tests/test-ide-build-pipeline.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-ide-build-pipeline.c b/tests/test-ide-build-pipeline.c
index fafa554..42b7953 100644
--- a/tests/test-ide-build-pipeline.c
+++ b/tests/test-ide-build-pipeline.c
@@ -16,6 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#define G_LOG_DOMAIN "test-ide-build-pipeline"
+
#include <ide.h>
#include "application/ide-application-tests.h"
@@ -32,6 +34,8 @@ execute_cb (GObject *object,
g_assert (IDE_IS_BUILD_PIPELINE (pipeline));
+ g_debug ("Pipeline callback of completion");
+
r = ide_build_pipeline_execute_finish (pipeline, result, &error);
g_assert_no_error (error);
g_assert_cmpint (r, ==, TRUE);
@@ -69,6 +73,8 @@ context_loaded (GObject *object,
ide_build_pipeline_request_phase (pipeline, IDE_BUILD_PHASE_BUILD);
+ g_debug ("Executing pipeline");
+
ide_build_pipeline_execute_async (pipeline,
NULL,
execute_cb,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]