diff options
author | Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> | 2015-10-29 15:15:44 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-10-30 10:17:18 +0100 |
commit | ea822e0bd3b3a01dc7b937bc1af048eef2e30780 (patch) | |
tree | e1b9a81e4aa8239210f744c4ffc9df6a96962970 | |
parent | 346c11c1077a662802811a042563ae7afa70fecb (diff) | |
download | NetworkManager-ea822e0bd3b3a01dc7b937bc1af048eef2e30780.tar.gz |
Only test team devices if we built support for them.
Team device support is already conditional to teamdctl being available at
compile time. If we're not building support for them, we shouldn't attempt
to test them either as doing so would fail the build.
-rw-r--r-- | src/platform/tests/test-link.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/platform/tests/test-link.c b/src/platform/tests/test-link.c index f9645d855e..c8b0ea8c21 100644 --- a/src/platform/tests/test-link.c +++ b/src/platform/tests/test-link.c @@ -591,7 +591,9 @@ setup_tests (void) g_test_add_func ("/link/internal", test_internal); g_test_add_func ("/link/software/bridge", test_bridge); g_test_add_func ("/link/software/bond", test_bond); +#if WITH_TEAMDCTL g_test_add_func ("/link/software/team", test_team); +#endif g_test_add_func ("/link/software/vlan", test_vlan); if (strcmp (g_type_name (G_TYPE_FROM_INSTANCE (nm_platform_get ())), "NMFakePlatform")) |