diff options
author | Daniel Moody <daniel.moody@mongodb.com> | 2021-02-06 02:38:41 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-06 06:16:12 +0000 |
commit | 0d804a26399c41e62a2d0a282120af0cc22b8959 (patch) | |
tree | c74f26eecf68c47f9ad12131524af3588956395f /src/mongo/client | |
parent | 6feae12fe29a4c921bdbf03dd8b1ae6d5dd27f92 (diff) | |
download | mongo-0d804a26399c41e62a2d0a282120af0cc22b8959.tar.gz |
SERVER-50268 cleaned up LIBDEP_DEPENDENTS and wiredtiger dependencies.
Diffstat (limited to 'src/mongo/client')
-rw-r--r-- | src/mongo/client/SConscript | 86 |
1 files changed, 44 insertions, 42 deletions
diff --git a/src/mongo/client/SConscript b/src/mongo/client/SConscript index 3491d78d05a..e6176fc576c 100644 --- a/src/mongo/client/SConscript +++ b/src/mongo/client/SConscript @@ -2,6 +2,7 @@ Import('env') Import("get_option") +Import('wiredtiger') env = env.Clone() @@ -339,48 +340,49 @@ env.Library( ], ) -env.CppUnitTest( - target='client_test', - source=[ - 'authenticate_test.cpp', - 'connection_string_test.cpp', - 'dbclient_cursor_test.cpp', - 'fetcher_test.cpp', - 'index_spec_test.cpp', - 'mongo_uri_test.cpp', - 'read_preference_test.cpp', - 'remote_command_retry_scheduler_test.cpp', - 'replica_set_monitor_server_parameters_test.cpp', - 'server_discovery_monitor_expedited_test.cpp', - 'server_discovery_monitor_test.cpp', - 'server_ping_monitor_test.cpp', - 'streamable_replica_set_monitor_error_handler_test.cpp', - ], - LIBDEPS=[ - '$BUILD_DIR/mongo/client/sdam/sdam', - '$BUILD_DIR/mongo/client/sdam/sdam_test', - '$BUILD_DIR/mongo/db/auth/authmocks', - '$BUILD_DIR/mongo/db/service_context_test_fixture', - '$BUILD_DIR/mongo/db/write_concern_options', - '$BUILD_DIR/mongo/dbtests/mocklib', - '$BUILD_DIR/mongo/executor/network_interface_mock', - '$BUILD_DIR/mongo/executor/task_executor_test_fixture', - '$BUILD_DIR/mongo/executor/thread_pool_task_executor_test_fixture', - '$BUILD_DIR/mongo/rpc/command_status', - '$BUILD_DIR/mongo/transport/transport_layer_egress_init', - '$BUILD_DIR/mongo/unittest/task_executor_proxy', - '$BUILD_DIR/mongo/util/md5', - '$BUILD_DIR/mongo/util/net/network', - 'authentication', - 'clientdriver_minimal', - 'clientdriver_network', - 'connection_string', - 'fetcher', - 'read_preference', - 'remote_command_retry_scheduler', - 'replica_set_monitor_protocol_test_util', - ], -) +if wiredtiger: + env.CppUnitTest( + target='client_test', + source=[ + 'authenticate_test.cpp', + 'connection_string_test.cpp', + 'dbclient_cursor_test.cpp', + 'fetcher_test.cpp', + 'index_spec_test.cpp', + 'mongo_uri_test.cpp', + 'read_preference_test.cpp', + 'remote_command_retry_scheduler_test.cpp', + 'replica_set_monitor_server_parameters_test.cpp', + 'server_discovery_monitor_expedited_test.cpp', + 'server_discovery_monitor_test.cpp', + 'server_ping_monitor_test.cpp', + 'streamable_replica_set_monitor_error_handler_test.cpp', + ], + LIBDEPS=[ + '$BUILD_DIR/mongo/client/sdam/sdam', + '$BUILD_DIR/mongo/client/sdam/sdam_test', + '$BUILD_DIR/mongo/db/auth/authmocks', + '$BUILD_DIR/mongo/db/service_context_test_fixture', + '$BUILD_DIR/mongo/db/write_concern_options', + '$BUILD_DIR/mongo/dbtests/mocklib', + '$BUILD_DIR/mongo/executor/network_interface_mock', + '$BUILD_DIR/mongo/executor/task_executor_test_fixture', + '$BUILD_DIR/mongo/executor/thread_pool_task_executor_test_fixture', + '$BUILD_DIR/mongo/rpc/command_status', + '$BUILD_DIR/mongo/transport/transport_layer_egress_init', + '$BUILD_DIR/mongo/unittest/task_executor_proxy', + '$BUILD_DIR/mongo/util/md5', + '$BUILD_DIR/mongo/util/net/network', + 'authentication', + 'clientdriver_minimal', + 'clientdriver_network', + 'connection_string', + 'fetcher', + 'read_preference', + 'remote_command_retry_scheduler', + 'replica_set_monitor_protocol_test_util', + ], + ) env.CppIntegrationTest( target='replica_set_monitor_integration_test', |