summaryrefslogtreecommitdiff
path: root/src/mongo/db/sorter
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/db/sorter
parent065a8926202af35bd19a9e2974aaa18f341604fa (diff)
downloadmongo-e3f4aa4cf938be00e33874408185767ad256a769.tar.gz
SERVER-41809 Collapse unit tests on a per-directory basis
Diffstat (limited to 'src/mongo/db/sorter')
-rw-r--r--src/mongo/db/sorter/SConscript23
1 files changed, 15 insertions, 8 deletions
diff --git a/src/mongo/db/sorter/SConscript b/src/mongo/db/sorter/SConscript
index 2f0014755a2..5c3508586a3 100644
--- a/src/mongo/db/sorter/SConscript
+++ b/src/mongo/db/sorter/SConscript
@@ -4,11 +4,18 @@ env = env.Clone()
sorterEnv = env.Clone()
sorterEnv.InjectThirdParty(libraries=['snappy'])
-sorterEnv.CppUnitTest('sorter_test',
- 'sorter_test.cpp',
- LIBDEPS=['$BUILD_DIR/mongo/db/service_context',
- '$BUILD_DIR/mongo/db/service_context_test_fixture',
- '$BUILD_DIR/mongo/db/storage/encryption_hooks',
- '$BUILD_DIR/mongo/db/storage/storage_options',
- '$BUILD_DIR/mongo/s/is_mongos',
- '$BUILD_DIR/third_party/shim_snappy'])
+
+sorterEnv.CppUnitTest(
+ target='db_sorter_test',
+ source=[
+ 'sorter_test.cpp',
+ ],
+ LIBDEPS=[
+ '$BUILD_DIR/mongo/db/service_context',
+ '$BUILD_DIR/mongo/db/service_context_test_fixture',
+ '$BUILD_DIR/mongo/db/storage/encryption_hooks',
+ '$BUILD_DIR/mongo/db/storage/storage_options',
+ '$BUILD_DIR/mongo/s/is_mongos',
+ '$BUILD_DIR/third_party/shim_snappy'
+ ],
+)