mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 13:50:15 +01:00
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
This commit is contained in:
parent
a09f3aaa79
commit
8e009baa10
1 changed files with 17 additions and 13 deletions
|
|
@ -1,15 +1,19 @@
|
|||
test_units = [
|
||||
'test-ndisc-fake',
|
||||
'test-ndisc-linux'
|
||||
]
|
||||
test_unit = 'test-ndisc-fake'
|
||||
|
||||
foreach test_unit: test_units
|
||||
exe = executable(
|
||||
test_unit,
|
||||
test_unit + '.c',
|
||||
dependencies: test_core_dep,
|
||||
c_args: test_cflags_platform
|
||||
)
|
||||
exe = executable(
|
||||
test_unit,
|
||||
test_unit + '.c',
|
||||
dependencies: test_core_dep,
|
||||
c_args: test_cflags_platform
|
||||
)
|
||||
|
||||
test(test_unit, exe)
|
||||
endforeach
|
||||
test(test_unit, exe)
|
||||
|
||||
test = 'test-ndisc-linux'
|
||||
|
||||
exe = executable(
|
||||
test,
|
||||
test + '.c',
|
||||
dependencies: test_core_dep,
|
||||
c_args: test_cflags_platform
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue