summaryrefslogtreecommitdiff
path: root/tests/shared
Commit message (Collapse)AuthorAgeFilesLines
* tests: Show why tests are not splitBenjamin Berg2020-05-111-1/+1
| | | | | The GTest python class tries to split tests into separte runs. However, that can fail, show why.
* tests: Ensure generated function have a __qualname__ attributeBenjamin Berg2018-11-131-0/+4
| | | | | | This is solely used for filtering by unittest, however, if it is missing, then unittest will fail. So generate a reasonable name (which is unfortunately not identical to the real name of the attribute).
* tests: Don't hard-code the path to pythonTing-Wei Lan2018-08-131-1/+1
| | | | | | Python isn't always installed in /usr/bin. If we hard-code the path, these tests will fail on *BSD because they install python in different prefixes such as /usr/local and /usr/pkg.
* tests: Unset wayland display environment variable correctlyBenjamin Berg2018-05-291-1/+1
| | | | | Otherwise the test might run on a develpers wayland session rather than using the created X11 server.
* tests: Add helper for glib based test binariesBenjamin Berg2018-05-021-0/+113
| | | | | | | | | This makes running glib based tests inside a dbusmock environment easier and more beautiful (i.e. output is supressed unless an error occurs). This helper has been submitted for inclusion in dbusmock. If it cannot$ live there in some form, then we should try to find a home in the GNOME$ project for it.$
* tests: Add dbusmock helper starting X server and system/session bussesBenjamin Berg2018-05-021-0/+101
This helper has been submitted for inclusion in dbusmock. If it cannot live there in some form, then we should try to find a home in the GNOME project for it.