Commit graph

17 commits

Author SHA1 Message Date
Claudio André
f4433b3766 CI: print some info about the build env
It is not possible to debug if the developer knows nothing about
the CI running environment.
2018-05-14 19:39:45 -03:00
Ting-Wei Lan
949f8cb227 tests/network: Disable on non-Linux systems
NetworkManager is only available on Linux, so we cannot build or run the
network test on non-Linux systems.
2018-05-12 04:03:45 +00:00
Georges Basile Stavracas Neto
eea231dc1c tests: Run each datetime test under Xvfb
That way, gtk_init() cannot fail.
2018-05-09 18:52:48 -03:00
Georges Basile Stavracas Neto
8404f526b6 tests: Make logging verbose 2018-05-09 18:33:18 -03:00
Georges Basile Stavracas Neto
c23e8f3547 tests: Rework test-timezone-gfx 2018-05-09 18:33:18 -03:00
Georges Basile Stavracas Neto
0b854910bb tests: Rely only on zone.tab
First of all, this is a complete rewrite of the
timezone tests. Everything was revisited, starting
from code style, to concepts, etc.

The problem  with the previous timezone test was that
is was relying on listing the /usr/share/zoneinfo
directory, and assuming that those entries would be
always present.

Turns out, some of them are extensions, some of them
are undocumented files, etc. A huge mess. I could've
blacklisted the undesired files and folders, but that
would still be insufficient for other OSes like *BSDs
and Sun.

The final solution was pretty straightforward: only
use the information from zone.tab to run the tests.
2018-05-09 15:38:12 -03:00
Georges Basile Stavracas Neto
af0186aaf9 project: Update meson files
I probably have OCD. Seeing these files
with this poor alignment gives me physical
pain.
2018-05-03 00:45:29 -03:00
Benjamin Berg
f655e46ce7 tests/network: Add basic testing of network panel
This adds tests for the network panel based on the test service found in
NetworkManager. Another possible solution may be to use the one from
dbusmock, however NetworkManager already has readily available code to
write tests in C which makes checking the widget hierarchy easier.
2018-05-02 22:29:33 +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
Benjamin Berg
8c9be792f2 tests: Add dbusmock helper starting X server and system/session busses
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:32 +00:00
Benjamin Berg
466d91afd3 tests/network: Fix deprecation warning in NM test service
This just fixes a simple deprecation warning in the NetworkManager test
service.
2018-05-02 22:29:32 +00:00
Benjamin Berg
9bab137bb4 tests/network: Add status and carrier setting to NM test service
This adds a bit of new functionality to the test service to set the
status and reason for the status change as well as whether the carrier
is connected.
2018-05-02 22:29:32 +00:00
Benjamin Berg
2ebdb532cf tests/network: Copy files from network manager for network panel testing
This copies a number of files from network manager in preparation of
adding network panel tests.
2018-05-02 22:29:32 +00:00
Benjamin Berg
b15be07738 Move datetime tests into tests subdirectory 2018-04-17 15:26:59 +02:00
Benjamin Berg
3c76d52e8e Move info panel test to tests subdirectory 2018-04-17 15:26:59 +02:00
Benjamin Berg
a9d8ec5747 Move printers panel tests into tests folder 2018-04-17 15:26:59 +02:00
Benjamin Berg
d2d4980ce8 Move panel/common tests into new tests subdirectory 2018-04-17 15:26:59 +02:00