summaryrefslogtreecommitdiff
path: root/src/mongo/shell
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2019-06-24 12:09:04 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2019-06-24 12:09:04 -0400
commitfcf05e11467565452a252846e8c4eabd908418eb (patch)
tree90d0e1b4499673f24ae95c0b5e4370264431f119 /src/mongo/shell
parent9d2c6e56a6be5363a6c71ac157012f46f7db5ae2 (diff)
downloadmongo-fcf05e11467565452a252846e8c4eabd908418eb.tar.gz
SERVER-41837 Fix unittest compilation on non-ssl builds
Diffstat (limited to 'src/mongo/shell')
-rw-r--r--src/mongo/shell/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/shell/SConscript b/src/mongo/shell/SConscript
index 5764e49c365..21bc535b00b 100644
--- a/src/mongo/shell/SConscript
+++ b/src/mongo/shell/SConscript
@@ -192,13 +192,13 @@ scriptingEnv.Library(
env.CppUnitTest(
target='shell_test',
source=[
- 'kms_test.cpp',
+ 'kms_test.cpp' if "tom" not in env["MONGO_CRYPTO"] else [],
'shell_options_test.cpp',
'shell_utils_test.cpp'
],
LIBDEPS=[
'$BUILD_DIR/mongo/util/signal_handlers',
- 'kms',
+ 'kms' if "tom" not in env["MONGO_CRYPTO"] else [],
'shell_options_register',
'shell_utils',
],