summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-08-11 14:05:42 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2018-08-11 22:57:34 +0200
commit76f60f47e54eae63cf0d979c9260f4aa142177b1 (patch)
treed05e6e76321f38ae31dc64349b76614534bbdd8f /tests
parent11085f91c24dd895dfd1e9d02a71f1a3346e3c00 (diff)
downloaddconf-76f60f47e54eae63cf0d979c9260f4aa142177b1.tar.gz
build: Add trailing commas where necessary
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/meson.build8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 96e45dc..ef0b940 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,13 +1,13 @@
sources = files(
'dconf-mock-dbus.c',
'dconf-mock-gvdb.c',
- 'dconf-mock-shm.c'
+ 'dconf-mock-shm.c',
)
libdconf_mock = static_library(
'dconf-mock',
sources: sources,
- dependencies: glib_dep
+ dependencies: glib_dep,
)
envs = test_env + [
@@ -29,7 +29,7 @@ unit_tests = [
['gdbus-thread', 'dbus.c', '-DDBUS_BACKEND="/gdbus/thread"', libdconf_gdbus_thread_dep, []],
['gdbus-filter', 'dbus.c', '-DDBUS_BACKEND="/gdbus/filter"', libdconf_gdbus_filter_dep, []],
['engine', 'engine.c', '-DSRCDIR="@0@"'.format(test_dir), [dl_dep, libdconf_engine_dep, m_dep], libdconf_mock],
- ['client', 'client.c', '-DSRCDIR="@0@"'.format(test_dir), [libdconf_client_dep, libdconf_engine_dep], libdconf_mock]
+ ['client', 'client.c', '-DSRCDIR="@0@"'.format(test_dir), [libdconf_client_dep, libdconf_engine_dep], libdconf_mock],
]
foreach unit_test: unit_tests
@@ -38,7 +38,7 @@ foreach unit_test: unit_tests
unit_test[1],
c_args: unit_test[2],
dependencies: unit_test[3],
- link_with: unit_test[4]
+ link_with: unit_test[4],
)
test(unit_test[0], exe, is_parallel: false, env: envs)