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/shell | |
parent | 065a8926202af35bd19a9e2974aaa18f341604fa (diff) | |
download | mongo-e3f4aa4cf938be00e33874408185767ad256a769.tar.gz |
SERVER-41809 Collapse unit tests on a per-directory basis
Diffstat (limited to 'src/mongo/shell')
-rw-r--r-- | src/mongo/shell/SConscript | 44 |
1 files changed, 15 insertions, 29 deletions
diff --git a/src/mongo/shell/SConscript b/src/mongo/shell/SConscript index e9bf5d5abdf..5764e49c365 100644 --- a/src/mongo/shell/SConscript +++ b/src/mongo/shell/SConscript @@ -109,16 +109,6 @@ env.Library( ], ) -env.CppUnitTest( - target='shell_options_test', - source=[ - "shell_options_test.cpp", - ], - LIBDEPS=[ - 'shell_options_register', - ], -) - env.Library( target='shell_utils', source=[ @@ -141,17 +131,6 @@ env.Library( ] ) -env.CppUnitTest( - target='shell_utils_test', - source=[ - 'shell_utils_test.cpp' - ], - LIBDEPS=[ - 'shell_utils', - '$BUILD_DIR/mongo/util/signal_handlers', - ] -) - kmsEnv = env.Clone() kmsEnv.InjectThirdParty(libraries=['kms-message']) @@ -179,14 +158,6 @@ kmsEnv.Library( ], ) -env.CppUnitTest( - target='kms_test', - source='kms_test.cpp', - LIBDEPS=[ - 'kms', - ] -) - env.Library( target="kms_shell", source=[ @@ -217,3 +188,18 @@ scriptingEnv.Library( 'kms', ], ) + +env.CppUnitTest( + target='shell_test', + source=[ + 'kms_test.cpp', + 'shell_options_test.cpp', + 'shell_utils_test.cpp' + ], + LIBDEPS=[ + '$BUILD_DIR/mongo/util/signal_handlers', + 'kms', + 'shell_options_register', + 'shell_utils', + ], +) |