diff options
author | Andrew Morrow <acm@mongodb.com> | 2018-10-04 08:24:14 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2018-11-14 10:15:56 -0500 |
commit | 8029241ffa616d27502f9396c50a85b95115beaf (patch) | |
tree | d9005afaa29f4be264b00e7ece122cd6dec94e7c | |
parent | dcf7e0dd89d34f58b592f1adb3d41e5edd6e2012 (diff) | |
download | mongo-8029241ffa616d27502f9396c50a85b95115beaf.tar.gz |
SERVER-30815 Remove db/serveronly from all unit tests
-rw-r--r-- | src/mongo/db/SConscript | 12 | ||||
-rw-r--r-- | src/mongo/db/commands/SConscript | 3 | ||||
-rw-r--r-- | src/mongo/db/exec/SConscript | 3 | ||||
-rw-r--r-- | src/mongo/db/free_mon/SConscript | 1 | ||||
-rw-r--r-- | src/mongo/db/index/SConscript | 2 | ||||
-rw-r--r-- | src/mongo/db/query/SConscript | 2 | ||||
-rw-r--r-- | src/mongo/db/repl/SConscript | 2 | ||||
-rw-r--r-- | src/mongo/db/s/SConscript | 2 | ||||
-rw-r--r-- | src/mongo/db/storage/kv/SConscript | 1 | ||||
-rw-r--r-- | src/mongo/db/storage/wiredtiger/SConscript | 2 | ||||
-rw-r--r-- | src/mongo/s/SConscript | 1 |
11 files changed, 13 insertions, 18 deletions
diff --git a/src/mongo/db/SConscript b/src/mongo/db/SConscript index 8c3a4adb825..a81c75a0d18 100644 --- a/src/mongo/db/SConscript +++ b/src/mongo/db/SConscript @@ -1878,13 +1878,16 @@ env.Library( source= [ 'service_context_d_test_fixture.cpp', ], - LIBDEPS= [ + LIBDEPS=[ + '$BUILD_DIR/mongo/unittest/unittest', + 'service_context_test_fixture', + ], + LIBDEPS_PRIVATE=[ '$BUILD_DIR/mongo/db/commands/mongod', - '$BUILD_DIR/mongo/db/serveronly', '$BUILD_DIR/mongo/db/storage/storage_options', - '$BUILD_DIR/mongo/unittest/unittest', 'service_context_d', - 'service_context_test_fixture', + 'storage/devnull/storage_devnull', + 'storage/ephemeral_for_test/storage_ephemeral_for_test', ], ) @@ -2019,6 +2022,7 @@ env.CppUnitTest( LIBDEPS=[ '$BUILD_DIR/mongo/client/read_preference', '$BUILD_DIR/mongo/db/auth/authmocks', + '$BUILD_DIR/mongo/db/op_observer', '$BUILD_DIR/mongo/db/repl/mock_repl_coord_server_fixture', '$BUILD_DIR/mongo/util/clock_source_mock', 'query_exec', diff --git a/src/mongo/db/commands/SConscript b/src/mongo/db/commands/SConscript index eca6f68020f..a052f431093 100644 --- a/src/mongo/db/commands/SConscript +++ b/src/mongo/db/commands/SConscript @@ -434,7 +434,6 @@ env.CppUnitTest( "$BUILD_DIR/mongo/db/auth/authmocks", "$BUILD_DIR/mongo/db/query/query_planner", "$BUILD_DIR/mongo/db/query/query_test_service_context", - "$BUILD_DIR/mongo/db/serveronly", "$BUILD_DIR/mongo/db/service_context_d", "standalone", ], @@ -450,7 +449,6 @@ env.CppUnitTest( "$BUILD_DIR/mongo/db/repl/drop_pending_collection_reaper", "$BUILD_DIR/mongo/db/repl/replmocks", "$BUILD_DIR/mongo/db/repl/storage_interface_impl", - "$BUILD_DIR/mongo/db/serveronly", "$BUILD_DIR/mongo/db/service_context_d", "$BUILD_DIR/mongo/db/service_context_d_test_fixture", "mongod", @@ -467,7 +465,6 @@ env.CppUnitTest( "$BUILD_DIR/mongo/db/auth/authmocks", "$BUILD_DIR/mongo/db/query/query_planner", "$BUILD_DIR/mongo/db/query/query_test_service_context", - "$BUILD_DIR/mongo/db/serveronly", "$BUILD_DIR/mongo/db/service_context_d", "standalone", ], diff --git a/src/mongo/db/exec/SConscript b/src/mongo/db/exec/SConscript index 2c3a6b311d3..a7cee4d1ebe 100644 --- a/src/mongo/db/exec/SConscript +++ b/src/mongo/db/exec/SConscript @@ -60,7 +60,6 @@ env.CppUnitTest( LIBDEPS = [ "$BUILD_DIR/mongo/db/auth/authmocks", "$BUILD_DIR/mongo/db/query_exec", - "$BUILD_DIR/mongo/db/serveronly", "$BUILD_DIR/mongo/db/service_context_d_test_fixture", "$BUILD_DIR/mongo/dbtests/mocklib", "$BUILD_DIR/mongo/util/clock_source_mock", @@ -75,7 +74,6 @@ env.CppUnitTest( LIBDEPS = [ "$BUILD_DIR/mongo/db/auth/authmocks", "$BUILD_DIR/mongo/db/query_exec", - "$BUILD_DIR/mongo/db/serveronly", "$BUILD_DIR/mongo/db/service_context_d_test_fixture", "$BUILD_DIR/mongo/dbtests/mocklib", "$BUILD_DIR/mongo/db/query/collation/collator_factory_mock", @@ -94,7 +92,6 @@ env.CppUnitTest( "$BUILD_DIR/mongo/db/query_exec", "$BUILD_DIR/mongo/db/query/collation/collator_interface_mock", "$BUILD_DIR/mongo/db/query/query_test_service_context", - "$BUILD_DIR/mongo/db/serveronly", "$BUILD_DIR/mongo/db/service_context_d", ], ) diff --git a/src/mongo/db/free_mon/SConscript b/src/mongo/db/free_mon/SConscript index 9c7dfcd78df..e973c88f648 100644 --- a/src/mongo/db/free_mon/SConscript +++ b/src/mongo/db/free_mon/SConscript @@ -78,7 +78,6 @@ fmEnv.CppUnitTest( '$BUILD_DIR/mongo/db/auth/authmocks', '$BUILD_DIR/mongo/db/repl/replmocks', '$BUILD_DIR/mongo/db/repl/storage_interface_impl', - '$BUILD_DIR/mongo/db/serveronly', '$BUILD_DIR/mongo/db/service_context_d_test_fixture', '$BUILD_DIR/mongo/db/service_context_d', '$BUILD_DIR/mongo/executor/thread_pool_task_executor_test_fixture', diff --git a/src/mongo/db/index/SConscript b/src/mongo/db/index/SConscript index 1b2f9b7f934..1f37291f34b 100644 --- a/src/mongo/db/index/SConscript +++ b/src/mongo/db/index/SConscript @@ -38,6 +38,8 @@ env.CppUnitTest( ], LIBDEPS=[ '$BUILD_DIR/mongo/db/auth/authmocks', + '$BUILD_DIR/mongo/db/catalog/multi_index_block', + '$BUILD_DIR/mongo/db/catalog_raii', '$BUILD_DIR/mongo/db/repl/replmocks', '$BUILD_DIR/mongo/db/service_context_d_test_fixture', '$BUILD_DIR/mongo/db/storage/ephemeral_for_test/storage_ephemeral_for_test_core', diff --git a/src/mongo/db/query/SConscript b/src/mongo/db/query/SConscript index 009006d125a..ed9402a1edb 100644 --- a/src/mongo/db/query/SConscript +++ b/src/mongo/db/query/SConscript @@ -125,7 +125,6 @@ env.CppUnitTest( "query_test_service_context", "$BUILD_DIR/mongo/db/auth/authmocks", "$BUILD_DIR/mongo/db/query_exec", - "$BUILD_DIR/mongo/db/serveronly", "$BUILD_DIR/mongo/db/service_context_d", "$BUILD_DIR/mongo/dbtests/mocklib", ], @@ -388,7 +387,6 @@ env.CppUnitTest( "query_planner_test_fixture", "$BUILD_DIR/mongo/db/auth/authmocks", "$BUILD_DIR/mongo/db/query_exec", - "$BUILD_DIR/mongo/db/serveronly", "$BUILD_DIR/mongo/db/service_context_d", "$BUILD_DIR/mongo/dbtests/mocklib", ], diff --git a/src/mongo/db/repl/SConscript b/src/mongo/db/repl/SConscript index 0fc06ce813c..f22ce3144ca 100644 --- a/src/mongo/db/repl/SConscript +++ b/src/mongo/db/repl/SConscript @@ -347,6 +347,7 @@ env.CppUnitTest( 'replmocks', 'storage_interface_impl', '$BUILD_DIR/mongo/db/auth/authmocks', + '$BUILD_DIR/mongo/db/op_observer', '$BUILD_DIR/mongo/db/service_context_d_test_fixture', ], ) @@ -1056,7 +1057,6 @@ env.CppUnitTest('isself_test', ], LIBDEPS=[ '$BUILD_DIR/mongo/db/auth/authmocks', - '$BUILD_DIR/mongo/db/serveronly', '$BUILD_DIR/mongo/db/service_context_d', '$BUILD_DIR/mongo/db/service_context_test_fixture', 'isself', diff --git a/src/mongo/db/s/SConscript b/src/mongo/db/s/SConscript index 2e91314615d..37eb5bf69bc 100644 --- a/src/mongo/db/s/SConscript +++ b/src/mongo/db/s/SConscript @@ -205,6 +205,7 @@ env.CppUnitTest( ], LIBDEPS=[ '$BUILD_DIR/mongo/db/auth/authmocks', + '$BUILD_DIR/mongo/db/repl/replication_info', '$BUILD_DIR/mongo/s/config_server_test_fixture', '$BUILD_DIR/mongo/util/version_impl', 'balancer', @@ -370,7 +371,6 @@ env.CppUnitTest( '$BUILD_DIR/mongo/client/remote_command_targeter_mock', '$BUILD_DIR/mongo/db/auth/authmocks', '$BUILD_DIR/mongo/db/repl/replmocks', - '$BUILD_DIR/mongo/db/serveronly', '$BUILD_DIR/mongo/executor/network_test_env', '$BUILD_DIR/mongo/executor/thread_pool_task_executor_test_fixture', '$BUILD_DIR/mongo/s/shard_server_test_fixture', diff --git a/src/mongo/db/storage/kv/SConscript b/src/mongo/db/storage/kv/SConscript index ebd02a8a6f7..675e3102441 100644 --- a/src/mongo/db/storage/kv/SConscript +++ b/src/mongo/db/storage/kv/SConscript @@ -153,7 +153,6 @@ env.CppUnitTest( '$BUILD_DIR/mongo/db/namespace_string', '$BUILD_DIR/mongo/db/repair_database', '$BUILD_DIR/mongo/db/repl/replmocks', - '$BUILD_DIR/mongo/db/serveronly', '$BUILD_DIR/mongo/db/service_context_d_test_fixture', '$BUILD_DIR/mongo/db/storage/ephemeral_for_test/storage_ephemeral_for_test_core', '$BUILD_DIR/mongo/db/storage/storage_repair_observer', diff --git a/src/mongo/db/storage/wiredtiger/SConscript b/src/mongo/db/storage/wiredtiger/SConscript index ce34db05f7f..ec8f2597126 100644 --- a/src/mongo/db/storage/wiredtiger/SConscript +++ b/src/mongo/db/storage/wiredtiger/SConscript @@ -128,12 +128,12 @@ if wiredtiger: ], LIBDEPS=[ '$BUILD_DIR/mongo/db/auth/authmocks', - '$BUILD_DIR/mongo/db/serveronly', '$BUILD_DIR/mongo/db/service_context', '$BUILD_DIR/mongo/db/service_context_d', '$BUILD_DIR/mongo/db/service_context_test_fixture', '$BUILD_DIR/mongo/db/storage/storage_engine_metadata', '$BUILD_DIR/mongo/db/storage/storage_options', + '$BUILD_DIR/mongo/db/storage/wiredtiger/storage_wiredtiger', '$BUILD_DIR/mongo/db/storage/wiredtiger/storage_wiredtiger_core', ], ) diff --git a/src/mongo/s/SConscript b/src/mongo/s/SConscript index 490385b502c..f23302d8ed4 100644 --- a/src/mongo/s/SConscript +++ b/src/mongo/s/SConscript @@ -392,7 +392,6 @@ env.CppUnitTest( 'shard_key_pattern_test.cpp', ], LIBDEPS=[ - '$BUILD_DIR/mongo/db/serveronly', 'catalog_cache_test_fixture', ] ) |