Commit 8e009baa authored by Inigo Martínez's avatar Inigo Martínez Committed by Thomas Haller

build: fix test-ndisc-linux test

The `test-ndisc-linux` test is being run as an unit test. However,
it is not meant to be run as one of them.

This patch simply builts it as not installable binary.

https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00050.html
parent a09f3aaa
test_units = [
'test-ndisc-fake',
'test-ndisc-linux'
]
foreach test_unit: test_units
exe = executable(
test_unit,
test_unit + '.c',
dependencies: test_core_dep,
c_args: test_cflags_platform
)
test(test_unit, exe)
endforeach
test_unit = 'test-ndisc-fake'
exe = executable(
test_unit,
test_unit + '.c',
dependencies: test_core_dep,
c_args: test_cflags_platform
)
test(test_unit, exe)
test = 'test-ndisc-linux'
exe = executable(
test,
test + '.c',
dependencies: test_core_dep,
c_args: test_cflags_platform
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment