summaryrefslogtreecommitdiff
path: root/src/mongo/unittest
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2019-06-19 11:36:50 -0400
committerAndrew Morrow <acm@mongodb.com>2019-06-20 14:31:23 -0400
commite3f4aa4cf938be00e33874408185767ad256a769 (patch)
treea6490e5fcd6912d46514b2657a1dc46a352fd943 /src/mongo/unittest
parent065a8926202af35bd19a9e2974aaa18f341604fa (diff)
downloadmongo-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/SConscript29
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',
],
)