diff options
Diffstat (limited to 'src/mongo/util/concurrency')
-rw-r--r-- | src/mongo/util/concurrency/SConscript | 34 |
1 files changed, 8 insertions, 26 deletions
diff --git a/src/mongo/util/concurrency/SConscript b/src/mongo/util/concurrency/SConscript index 05862f057aa..535635079a0 100644 --- a/src/mongo/util/concurrency/SConscript +++ b/src/mongo/util/concurrency/SConscript @@ -25,14 +25,6 @@ env.Library( ] ) -env.CppUnitTest( - target='thread_pool_test', - source=['thread_pool_test.cpp'], - LIBDEPS=[ - 'thread_pool', - 'thread_pool_test_fixture', - ]) - env.Library('ticketholder', ['ticketholder.cpp'], LIBDEPS=[ @@ -41,15 +33,6 @@ env.Library('ticketholder', '$BUILD_DIR/third_party/shim_boost', ]) - -env.CppUnitTest( - target='ticketholder_test', - source=['ticketholder_test.cpp'], - LIBDEPS=[ - 'ticketholder', - '$BUILD_DIR/mongo/unittest/unittest', - ]) - env.Library( target='spin_lock', source=[ @@ -58,18 +41,17 @@ env.Library( ) env.CppUnitTest( - target='spin_lock_test', + target='util_concurrency_test', source=[ 'spin_lock_test.cpp', + 'thread_pool_test.cpp', + 'ticketholder_test.cpp', + 'with_lock_test.cpp', ], LIBDEPS=[ 'spin_lock', - '$BUILD_DIR/third_party/shim_boost', - ], + 'thread_pool', + 'thread_pool_test_fixture', + 'ticketholder', + ] ) - -env.CppUnitTest( - target='with_lock_test', - source=[ - 'with_lock_test.cpp', - ]) |