diff options
author | Andrew Morrow <acm@mongodb.com> | 2019-06-19 11:36:50 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2019-06-20 14:31:23 -0400 |
commit | e3f4aa4cf938be00e33874408185767ad256a769 (patch) | |
tree | a6490e5fcd6912d46514b2657a1dc46a352fd943 /src/mongo/unittest | |
parent | 065a8926202af35bd19a9e2974aaa18f341604fa (diff) | |
download | mongo-e3f4aa4cf938be00e33874408185767ad256a769.tar.gz |
SERVER-41809 Collapse unit tests on a per-directory basis
Diffstat (limited to 'src/mongo/unittest')
-rw-r--r-- | src/mongo/unittest/SConscript | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/src/mongo/unittest/SConscript b/src/mongo/unittest/SConscript index 0114d81ec19..e85e031da38 100644 --- a/src/mongo/unittest/SConscript +++ b/src/mongo/unittest/SConscript @@ -70,26 +70,31 @@ bmEnv.Library( ], ) -env.CppUnitTest('unittest_test', 'unittest_test.cpp') -env.CppUnitTest('fixture_test', 'fixture_test.cpp') -env.CppUnitTest('temp_dir_test', 'temp_dir_test.cpp') - -env.Benchmark( - target='system_resource_canary_bm', +env.Library( + target='task_executor_proxy', source=[ - 'system_resource_canary_bm.cpp' + 'task_executor_proxy.cpp', ], LIBDEPS=[ - '$BUILD_DIR/mongo/util/processinfo', + '$BUILD_DIR/mongo/executor/task_executor_interface', ], ) -env.Library( - target='task_executor_proxy', +env.CppUnitTest( + target='unittest_test', source=[ - 'task_executor_proxy.cpp', + 'unittest_test.cpp', + 'fixture_test.cpp', + 'temp_dir_test.cpp', + ], +) + +env.Benchmark( + target='system_resource_canary_bm', + source=[ + 'system_resource_canary_bm.cpp' ], LIBDEPS=[ - '$BUILD_DIR/mongo/executor/task_executor_interface', + '$BUILD_DIR/mongo/util/processinfo', ], ) |