mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-03 20:40:34 +01:00
build/meson: include meson.build for tests at the end
We want that there is a clear hierarchy and dependency between modules/directories. But tests sometimes break that. For example, "shared/nm-glib-aux/tests" link against libnm-glib-aux and libnm-log-null. But "shared/nm-log-null" depends on "shared/nm-glib-aux". Hence, for the test there is a circular dependency. Break that, by including all tests at the end. The alternative would be ugly in different ways.
This commit is contained in:
parent
2439374457
commit
174bd45344
2 changed files with 1 additions and 4 deletions
|
|
@ -136,7 +136,3 @@ libnm_core_impl_dep_link = declare_dependency(
|
|||
],
|
||||
link_with: libnm_core_impl,
|
||||
)
|
||||
|
||||
if enable_tests
|
||||
subdir('tests')
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -13,4 +13,5 @@ subdir('core')
|
|||
|
||||
if enable_tests
|
||||
subdir('libnm-platform/tests')
|
||||
subdir('libnm-core-impl/tests')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue