Commit graph

4 commits

Author SHA1 Message Date
Benjamin Berg
57685f0343 tests: Show why tests are not split
The GTest python class tries to split tests into separte runs. However,
that can fail, show why.
2020-05-11 19:43:38 +00:00
Benjamin Berg
1ab42b4ec5 tests: Ensure generated function have a __qualname__ attribute
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).
2018-11-13 02:32:28 +01:00
Ting-Wei Lan
9df14924d4 tests: Don't hard-code the path to python
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.
2018-08-13 01:18:16 +00:00
Benjamin Berg
7630bf963e tests: Add helper for glib based test binaries
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.$
2018-05-02 22:29:33 +00:00