summaryrefslogtreecommitdiff
path: root/tests/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* client: add abicheckDaniel Playfair Cal2020-12-191-1/+2
|
* tests: factor out abicheck from gsettingsDaniel Playfair Cal2020-12-191-0/+16
| | | | This will allow it to be used for other binaries
* tests: Add new test to check GDBusConnection leaksAndre Moreira Magalhaes2019-07-241-0/+2
| | | | | | | | | | | | | With recent changes made to GLib[1] invoking g_test_dbus_down() will fail after a timeout if the GDBusConnection object for the session bus leaks. Note that this new test will fail as the current code will leak a cached GDBusConnection. Fixes will be added in follow-up patches. [1] https://gitlab.gnome.org/GNOME/glib/merge_requests/963 Signed-off-by: Andre Moreira Magalhaes <andre@endlessm.com>
* Tests: replace usage of dlsym with separate modules containing functions ↵Daniel Playfair Cal2019-02-121-2/+2
| | | | that need to be mocked out
* tests: Add tests for dconf utility toolTomasz Miąsko2018-11-131-0/+14
|
* Revert "Revert "Declare libdconf_service as a dependency""Daniel Playfair Cal2018-08-271-1/+1
| | | | This reverts commit b799b08ec4e5978ab8db233a9da1532bf7918324.
* Revert "Declare libdconf_service as a dependency"Daniel Playfair Cal2018-08-271-1/+1
| | | | This reverts commit bf103302332603a637f1c33e603c93b82aa1dc0b.
* Declare libdconf_service as a dependencyEmmanuele Bassi2018-08-211-1/+1
| | | | | | | | | | | | | | | | The dconf-service internal static library depends on generated files, and we need to make sure that those files are available by the time we build the tests that depend on them, as Meson builds everything in parallel. If we don't do that, in cases of massive parallelised builders, we will end up with errors like: ``` ccache cc -Itests/tests@@writer@exe -Itests -I../tests -I. -I../ -Itests/../service -I../tests/../service -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g '-DSYSCONFDIR="/etc"' -fno-common -Wmissing-prototypes -Wwrite-strings -O2 -g -m64 -mtune=generic '-DSRCDIR="/ostbuild/source/dconf/tests"' -MD -MQ 'tests/tests@@writer@exe/writer.c.o' -MF 'tests/tests@@writer@exe/writer.c.o.d' -o 'tests/tests@@writer@exe/writer.c.o' -c ../tests/writer.c ../tests/writer.c:24:37: fatal error: service/dconf-generated.h: No such file or directory ``` Reviewed-by: nobody Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* tests: Add unit tests for some of service/dconf-writer.cPhilip Withnall2018-08-161-0/+2
| | | | Signed-off-by: Philip Withnall <withnall@endlessm.com>
* build: Add trailing commas where necessaryIñigo Martínez2018-08-111-4/+4
| | | | | | Having trailing commas in place means that if another source file or parameter is added to the end of the list or function, there won't be noise when adding the comma to the line above.
* build: Do not make heavy use of project_nameIñigo Martínez2018-08-111-1/+1
| | | | | | | | | The current meson build files make heavy use of meson's `project_name` function. However this makes difficult for any developer to find for given program/library/file names. The project name is also never going to change. Due to this reason these calls have been changed for `dconf` itself.
* build: Fix internal dependenciesIñigo Martínez2018-08-111-8/+8
| | | | | | | | | meson is able to generate internal dependencies for handling built libraries. These internal dependencies depend on other dependencies as well, based on the includes exposed by their headers. This have been fixed by using proper internal dependencies for these libraries.
* tests: Set G_DEBUG and other useful environment variablesPhilip Withnall2018-08-101-1/+6
| | | | Signed-off-by: Philip Withnall <withnall@endlessm.com>
* build: Port to meson build systemIñigo Martínez2017-10-171-0/+40
meson is a build system focused on speed an ease of use, which helps speeding up the software development. This patch adds meson support along autotools. https://bugzilla.gnome.org/show_bug.cgi?id=784910