Skip to content

Commit 7db4f3a

Browse files
authored
Remove redundant calls to gtest_discover_tests with default args in AMQP tests (#5644)
* Disable AMQP LinkAttachDetachMultipleOneSession test until it has been investigated. * Line Coverage is now at 87.8049%. * Remove redundant calls to gtest_discover_tests with default args in AMQP tests. * Revert "Line Coverage is now at 87.8049%." This reverts commit deb07e7. * Revert "Disable AMQP LinkAttachDetachMultipleOneSession test until it has been investigated." This reverts commit 89c8096.
1 parent fdb8657 commit 7db4f3a

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

sdk/core/azure-core-amqp/test/ut/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ target_compile_definitions(azure-core-amqp-tests PRIVATE _CRT_SECURE_NO_WARNINGS
5555

5656
# Link test executable against gtest & gtest_main
5757
target_link_libraries(azure-core-amqp-tests PRIVATE GTest::gtest_main Azure::azure-core-amqp)
58-
gtest_discover_tests( azure-core-amqp-tests )
5958

6059
create_per_service_target_build(core azure-core-amqp-tests)
6160
create_map_file(azure-core-amqp-tests azure-core-amqp-tests.map)

sdk/core/azure-core-amqp/test/ut_uamqp/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ target_include_directories(azure-core-amqp-uamqp-tests PRIVATE Azure::azure-core
6262

6363
# Link test executable against gtest & gtest_main
6464
target_link_libraries(azure-core-amqp-uamqp-tests PRIVATE GTest::gtest_main Azure::azure-core-amqp uamqp umock_c azure_macro_utils_c)
65-
gtest_discover_tests(azure-core-amqp-uamqp-tests)
6665

6766
create_per_service_target_build(core azure-core-amqp-uamqp-tests)
6867
create_map_file(azure-core-amqp-uamqp-tests azure-core-amqp-uamqp-tests.map)

0 commit comments

Comments
 (0)