summaryrefslogtreecommitdiff
path: root/src/dnsmasq
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-05-30 10:23:17 +0200
committerThomas Haller <thaller@redhat.com>2018-05-31 15:59:38 +0200
commitb7426e91dbcbc9080e0018a43efd0aec1f5fc5ba (patch)
tree22481b509a9bc114f4180987877b75ce3455e77b /src/dnsmasq
parent7fcf33908be0ec10c7ed8a2a36bf8bf516058f5e (diff)
build: use default NM_BUILD_* defines for tests
Use two common defines NM_BUILD_SRCDIR and NM_BUILD_BUILDDIR for specifying the location of srcdir and builddir. Note that this is only relevant for tests, as they expect a certain layout of the directories, to find files that concern them.
Diffstat (limited to 'src/dnsmasq')
-rw-r--r--src/dnsmasq/tests/meson.build1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dnsmasq/tests/meson.build b/src/dnsmasq/tests/meson.build
index 40f42f6f80..12106c52f6 100644
--- a/src/dnsmasq/tests/meson.build
+++ b/src/dnsmasq/tests/meson.build
@@ -4,7 +4,6 @@ exe = executable(
test_unit,
test_unit + '.c',
dependencies: test_nm_dep,
- c_args: '-DTESTDIR="@0@"'.format(meson.source_root())
)
test(