I can reproduce with

    DISPLAY= make test

Quickest workaround I can think of: add xvfb to build-deps, run the test
suite under xvfb-run.

A better fix going forward would be to split up the gtimelog.main module
into two parts:

  * a non-GUI gtimelog.timelog module (all global functions, TimeWindow, 
Reports, TimeLog, TaskList and RemoteTaskList classes)
  * leave the GUI stuff in gtimelog.main (Settings, IconChooser, 
SimpleStatusIcon, AppIndicator, OldTrayIcon, MainWindow, Service classes)

and then refrain from importing GUI bits in the test suite.  This has
been on my mental to-do list for quite a while, but I never got around
to it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/983446

Title:
  Test suite fails during build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtimelog/+bug/983446/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to