summaryrefslogtreecommitdiff
path: root/site_scons/site_tools
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2016-05-22 14:51:32 -0400
committerAndrew Morrow <acm@mongodb.com>2016-06-16 17:54:40 -0400
commit7d78e7c9aea448c2840deadd58efb20baded72e4 (patch)
treec6e0d6d29a3a5b03dd12ad97f09b80c8ec369c35 /site_scons/site_tools
parented047465b06a5c7e62154fa93e68b5f2ffe56f5b (diff)
downloadmongo-7d78e7c9aea448c2840deadd58efb20baded72e4.tar.gz
SERVER-23103 Remove the unit test crutch
Diffstat (limited to 'site_scons/site_tools')
-rw-r--r--site_scons/site_tools/mongo_integrationtest.py7
-rw-r--r--site_scons/site_tools/mongo_unittest.py7
2 files changed, 0 insertions, 14 deletions
diff --git a/site_scons/site_tools/mongo_integrationtest.py b/site_scons/site_tools/mongo_integrationtest.py
index ad87ef8c0f8..43543b9f5f8 100644
--- a/site_scons/site_tools/mongo_integrationtest.py
+++ b/site_scons/site_tools/mongo_integrationtest.py
@@ -22,13 +22,6 @@ def build_cpp_integration_test(env, target, source, **kwargs):
libdeps = kwargs.get('LIBDEPS', [])
libdeps.append( '$BUILD_DIR/mongo/unittest/integration_test_main' )
- includeCrutch = True
- if "NO_CRUTCH" in kwargs:
- includeCrutch = not kwargs["NO_CRUTCH"]
-
- if includeCrutch:
- libdeps.append( '$BUILD_DIR/mongo/unittest/unittest_crutch' )
-
kwargs['LIBDEPS'] = libdeps
result = env.Program(target, source, **kwargs)
diff --git a/site_scons/site_tools/mongo_unittest.py b/site_scons/site_tools/mongo_unittest.py
index 93ce02fefac..9eb087411ef 100644
--- a/site_scons/site_tools/mongo_unittest.py
+++ b/site_scons/site_tools/mongo_unittest.py
@@ -22,13 +22,6 @@ def build_cpp_unit_test(env, target, source, **kwargs):
libdeps = kwargs.get('LIBDEPS', [])
libdeps.append( '$BUILD_DIR/mongo/unittest/unittest_main' )
- includeCrutch = True
- if "NO_CRUTCH" in kwargs:
- includeCrutch = not kwargs["NO_CRUTCH"]
-
- if includeCrutch:
- libdeps.append( '$BUILD_DIR/mongo/unittest/unittest_crutch' )
-
kwargs['LIBDEPS'] = libdeps
result = env.Program(target, source, **kwargs)