Comment 0 for bug 1690706

Revision history for this message
Jeremy BĂ­cha (jbicha) wrote :

The issue of the tests not being run was raised at both MIRs for this package LP: #1282372 and LP: #1685411

I tried to enable the test using dh_auto_test but I still couldn't get it to work. I'm attaching the patch I used for the packaging and the full build log.

Build Log Excerpt
=================
make[5]: Entering directory '/<<PKGBUILDDIR>>/libcolord-gtk'
Activating service name='org.a11y.Bus'

(process:11432): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied. dconf will not work properly.

(process:11432): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied. dconf will not work properly.

(process:11432): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied. dconf will not work properly.

(process:11432): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied. dconf will not work properly.

(process:11432): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied. dconf will not work properly.
Successfully activated service 'org.a11y.Bus'

(process:11432): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied. dconf will not work properly.
Activating service name='org.a11y.atspi.Registry'
Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
../test-driver: line 107: 11413 Aborted (core dumped) "$@" > $log_file 2>&1
FAIL: cd-self-test
=====================================================
   colord-gtk 0.1.26: libcolord-gtk/test-suite.log
=====================================================

# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: cd-self-test
==================

/colord/window: Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
**
libcolord-gtk:ERROR:cd-self-test.c:45:cd_window_get_profile_cb: assertion failed (error == NULL): failed to connect to colord: Could not connect: No such file or directory (cd_window_error, 0)
FAIL cd-self-test (exit status: 134)