summaryrefslogtreecommitdiff
path: root/src/dnsmasq
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2018-04-11 10:49:33 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2018-04-12 09:21:10 +0200
commita2479b95c0d44d3d5cea77ce1703407b4be6fb92 (patch)
treeb9d38c9c7649b016bd5262c64ba3834b1abffd42 /src/dnsmasq
parent3b5a522ef6e212772590ad8a569864ba82b91c9f (diff)
build: meson: use run-nm-test.sh to run tests
Like autotools, use the wrapper script 'run-nm-test.sh' that starts a separate D-Bus session when needed.
Diffstat (limited to 'src/dnsmasq')
-rw-r--r--src/dnsmasq/tests/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dnsmasq/tests/meson.build b/src/dnsmasq/tests/meson.build
index 56d917486a..5b4946d94b 100644
--- a/src/dnsmasq/tests/meson.build
+++ b/src/dnsmasq/tests/meson.build
@@ -7,4 +7,8 @@ exe = executable(
c_args: '-DTESTDIR="@0@"'.format(meson.source_root())
)
-test(test_unit, exe)
+test(
+ test_unit,
+ test_script,
+ args: test_args + [exe.full_path()]
+)