summaryrefslogtreecommitdiff
path: root/src/mongo/shell/SConscript
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2019-06-20 13:24:41 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2019-06-24 11:09:36 -0400
commit5c7f42c737b0d384cf7043ea9e3343fd8f7e71fb (patch)
tree2dd5e2f4b5e0e601b7e82715643f97e9f12ddb49 /src/mongo/shell/SConscript
parente430f0b3d17a42b41c73a105717e0b63b6447a91 (diff)
downloadmongo-5c7f42c737b0d384cf7043ea9e3343fd8f7e71fb.tar.gz
SERVER-41837 Fix unittest compilation on non-ssl builds
Diffstat (limited to 'src/mongo/shell/SConscript')
-rw-r--r--src/mongo/shell/SConscript15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/mongo/shell/SConscript b/src/mongo/shell/SConscript
index b53952f5603..128b7936e28 100644
--- a/src/mongo/shell/SConscript
+++ b/src/mongo/shell/SConscript
@@ -146,13 +146,14 @@ kmsEnv.Library(
],
)
-env.CppUnitTest(
- target='kms_test',
- source='kms_test.cpp',
- LIBDEPS=[
- 'kms',
- ]
-)
+if "tom" not in env["MONGO_CRYPTO"]:
+ env.CppUnitTest(
+ target='kms_test',
+ source='kms_test.cpp',
+ LIBDEPS=[
+ 'kms',
+ ]
+ )
env.Library(
target="kms_shell",