summaryrefslogtreecommitdiff
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
parente430f0b3d17a42b41c73a105717e0b63b6447a91 (diff)
downloadmongo-5c7f42c737b0d384cf7043ea9e3343fd8f7e71fb.tar.gz
SERVER-41837 Fix unittest compilation on non-ssl builds
-rw-r--r--src/mongo/crypto/SConscript15
-rw-r--r--src/mongo/shell/SConscript15
2 files changed, 16 insertions, 14 deletions
diff --git a/src/mongo/crypto/SConscript b/src/mongo/crypto/SConscript
index 5cc05d65e2d..e687ae4517d 100644
--- a/src/mongo/crypto/SConscript
+++ b/src/mongo/crypto/SConscript
@@ -102,10 +102,11 @@ env.Library(
],
)
-env.CppUnitTest(
- target='aead_encryption_test',
- source='aead_encryption_test.cpp',
- LIBDEPS=[
- 'aead_encryption',
- ]
-)
+if "tom" not in env["MONGO_CRYPTO"]:
+ env.CppUnitTest(
+ target='aead_encryption_test',
+ source='aead_encryption_test.cpp',
+ LIBDEPS=[
+ 'aead_encryption',
+ ]
+ )
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",