summaryrefslogtreecommitdiff
path: root/src/ndisc
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2018-10-19 18:48:43 +0200
committerThomas Haller <thaller@redhat.com>2018-10-22 13:19:15 +0200
commite0b168d6a84141408c48126fb4f358df1222870c (patch)
tree088219abea3c5af002abb6f8e1a15d18732ecc30 /src/ndisc
parent581be6b8d2b34dac0050988d690d83da7c44f517 (diff)
meson: Fix platform tests
All platform tests were run twice with the `linux` platform, instead of `fake` and `linux`, as expected.
Diffstat (limited to 'src/ndisc')
-rw-r--r--src/ndisc/tests/meson.build6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ndisc/tests/meson.build b/src/ndisc/tests/meson.build
index 2f479c2d9..e0dc9aa6c 100644
--- a/src/ndisc/tests/meson.build
+++ b/src/ndisc/tests/meson.build
@@ -3,8 +3,7 @@ test_unit = 'test-ndisc-fake'
exe = executable(
test_unit,
test_unit + '.c',
- dependencies: test_nm_dep,
- c_args: test_cflags_platform
+ dependencies: test_nm_dep_fake,
)
test(
@@ -18,6 +17,5 @@ test = 'test-ndisc-linux'
exe = executable(
test,
test + '.c',
- dependencies: test_nm_dep,
- c_args: test_cflags_platform
+ dependencies: test_nm_dep_linux,
)