Tests are not being run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
colord-gtk |
New
|
Unknown
|
|||
colord-gtk (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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.
https:/
Build Log Excerpt
=================
make[5]: Entering directory '/<<PKGBUILDDIR
Activating service name='org.a11y.Bus'
(process:11432): dconf-CRITICAL **: unable to create directory '/run/user/
(process:11432): dconf-CRITICAL **: unable to create directory '/run/user/
(process:11432): dconf-CRITICAL **: unable to create directory '/run/user/
(process:11432): dconf-CRITICAL **: unable to create directory '/run/user/
(process:11432): dconf-CRITICAL **: unable to create directory '/run/user/
Successfully activated service 'org.a11y.Bus'
(process:11432): dconf-CRITICAL **: unable to create directory '/run/user/
Activating service name='org.
Successfully activated service 'org.a11y.
SpiRegistry daemon is running with well-known name - org.a11y.
../test-driver: line 107: 11413 Aborted (core dumped) "$@" > $log_file 2>&1
FAIL: cd-self-test
=======
colord-gtk 0.1.26: libcolord-
=======
# 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-
FAIL cd-self-test (exit status: 134)
Changed in colord-gtk: | |
status: | Unknown → New |
tags: | added: gnome-17.10 |
I would try making a temporary directory under $(CURDIR)/debian/ and export XDG_RUNTIME_ DIR=that- directory. Make sure to remove it in clean too.