diff options
author | Amirsaman Memaripour <amirsaman.memaripour@mongodb.com> | 2020-02-25 14:15:28 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-03-02 17:56:45 +0000 |
commit | 5a3dd86b2e06a065ba435e4a6fe69300d0ba73a0 (patch) | |
tree | c17069779609205bdf693f3325af5da6da2784d7 /src/mongo/util/SConscript | |
parent | 6b24ad01b81bc9c455f9679a3d24ce13a7659417 (diff) | |
download | mongo-5a3dd86b2e06a065ba435e4a6fe69300d0ba73a0.tar.gz |
SERVER-27896 Add support for enforcing single-thread context
Diffstat (limited to 'src/mongo/util/SConscript')
-rw-r--r-- | src/mongo/util/SConscript | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mongo/util/SConscript b/src/mongo/util/SConscript index 50b413173dd..46fa8aec9b1 100644 --- a/src/mongo/util/SConscript +++ b/src/mongo/util/SConscript @@ -213,6 +213,16 @@ env.Library( ] ) +env.CppUnitTest( + target='thread_safety_context_test', + source=[ + 'thread_safety_context_test.cpp', + ], + LIBDEPS=[ + '$BUILD_DIR/mongo/base', + ], +) + if env['MONGO_ALLOCATOR'] in ['tcmalloc', 'tcmalloc-experimental']: tcmspEnv = env.Clone() |