From 110045677bea08cdc90b8b6df569a826d7e2a5c5 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 14 Jun 2021 16:23:29 -0400 Subject: [PATCH] Move minimal mdns test to the minimal mdns test dir. (#7608) Trying to test this in the overall mdns tests fails in builds that are not using minimal mdns, because the tests here don't pull in the minimal mdns libraries in that case. --- src/lib/mdns/minimal/tests/BUILD.gn | 1 + src/lib/mdns/{ => minimal}/tests/TestMinimalMdnsAllocator.cpp | 0 src/lib/mdns/tests/BUILD.gn | 1 - 3 files changed, 1 insertion(+), 1 deletion(-) rename src/lib/mdns/{ => minimal}/tests/TestMinimalMdnsAllocator.cpp (100%) diff --git a/src/lib/mdns/minimal/tests/BUILD.gn b/src/lib/mdns/minimal/tests/BUILD.gn index 88b367057e7718..60a0ef3cb4892f 100644 --- a/src/lib/mdns/minimal/tests/BUILD.gn +++ b/src/lib/mdns/minimal/tests/BUILD.gn @@ -22,6 +22,7 @@ chip_test_suite("tests") { output_name = "libMinimalMdnstests" test_sources = [ + "TestMinimalMdnsAllocator.cpp", "TestQueryReplyFilter.cpp", "TestRecordData.cpp", "TestResponseSender.cpp", diff --git a/src/lib/mdns/tests/TestMinimalMdnsAllocator.cpp b/src/lib/mdns/minimal/tests/TestMinimalMdnsAllocator.cpp similarity index 100% rename from src/lib/mdns/tests/TestMinimalMdnsAllocator.cpp rename to src/lib/mdns/minimal/tests/TestMinimalMdnsAllocator.cpp diff --git a/src/lib/mdns/tests/BUILD.gn b/src/lib/mdns/tests/BUILD.gn index cbbe880d6ef12d..e7147a576bb4c0 100644 --- a/src/lib/mdns/tests/BUILD.gn +++ b/src/lib/mdns/tests/BUILD.gn @@ -22,7 +22,6 @@ chip_test_suite("tests") { output_name = "libMdnsTests" test_sources = [ - "TestMinimalMdnsAllocator.cpp", "TestServiceNaming.cpp", "TestTxtFields.cpp", ]