[tracker/sam/functional-tests-quiet: 163/164] ci: Allow controlling verbosity of tests in CI
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/functional-tests-quiet: 163/164] ci: Allow controlling verbosity of tests in CI
- Date: Thu, 12 Sep 2019 22:33:24 +0000 (UTC)
commit 0c6d50e2b9f8c91c251b6c79dca60ccfcc6525e1
Author: Sam Thursfield <sam afuera me uk>
Date: Tue Sep 10 11:13:36 2019 +0200
ci: Allow controlling verbosity of tests in CI
.gitlab-ci.yml | 7 +++++++
HACKING.md | 5 +++++
2 files changed, 12 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1922acfb5..ec6666ef2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,10 @@
+variables:
+ # These can be used to see verbose log output from the functional-tests.
+ # See HACKING.md for more information.
+ G_MESSAGES_DEBUG: "Tracker"
+ TRACKER_VERBOSITY: "1"
+ TRACKER_TESTS_VERBOSE: "no"
+
stages:
- test
diff --git a/HACKING.md b/HACKING.md
index e8d3dcf62..4db4bc961 100644
--- a/HACKING.md
+++ b/HACKING.md
@@ -25,6 +25,11 @@ Tracker processes. Anything written directly to stdout, for example by
`g_print()` or by the dbus-daemon itself, will not be displayed unless
`TRACKER_TESTS_VERBOSE` is set.
+When working with GitLab CI, you can use the
+[Run Pipeline dialog](https://gitlab.gnome.org/GNOME/tracker/pipelines/new)
+to set the values of these variables and increase the verbosity of the tests in
+CI.
+
# Attaching a debugger to Tracker daemons
Tracker daemons are not started directly. Instead they are started by the D-Bus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]