summaryrefslogtreecommitdiff
path: root/SConscript.smoke
diff options
context:
space:
mode:
authorAndrew Morrow <acm@10gen.com>2013-05-21 21:07:48 -0400
committerAndrew Morrow <acm@10gen.com>2013-06-03 20:21:13 -0400
commitda8c0fa929eeb03dbe3fb0533874de31da0bc8c8 (patch)
treec303beed34a3e80e0e77092cd4eaab7b105836c0 /SConscript.smoke
parent9b148b0419d79f7173d0e972e8427fea67f77616 (diff)
downloadmongo-da8c0fa929eeb03dbe3fb0533874de31da0bc8c8.tar.gz
SERVER-6514 Re-add support for building the C++ driver shared library
Diffstat (limited to 'SConscript.smoke')
-rw-r--r--SConscript.smoke26
1 files changed, 16 insertions, 10 deletions
diff --git a/SConscript.smoke b/SConscript.smoke
index 3dbef68dee0..8d2eb873bd6 100644
--- a/SConscript.smoke
+++ b/SConscript.smoke
@@ -68,16 +68,22 @@ def addSmokeSuite( name, suitefile, needMongod=False ):
addSmoketest( "smoke", [ add_exe( "test" ), add_exe( "mongod" ), add_exe( "mongo" ) ] )
addSmoketest( "smokePerf", [ add_exe("perftest") ] )
-addSmoketest( "smokeClient", [
- add_exe('firstExample'),
- add_exe('rsExample'),
- add_exe('secondExample'),
- add_exe('whereExample'),
- add_exe('authTest'),
- add_exe('httpClientTest'),
- add_exe('bsondemo'),
- add_exe('clientTest'),
- ] )
+
+smokeClientDeps = [
+ add_exe('firstExample'),
+ add_exe('rsExample'),
+ add_exe('secondExample'),
+ add_exe('whereExample'),
+ add_exe('authTest'),
+ add_exe('httpClientTest'),
+ add_exe('clientTest'),
+]
+if has_option("sharedclient"):
+ smokeClientDeps += [ "sharedclient/" + name for name in smokeClientDeps ]
+smokeClientDeps += [add_exe('bsondemo')]
+smokeClientDeps += [add_exe('mongod'), add_exe('mongo')]
+smokeClient = addSmoketest( "smokeClient", smokeClientDeps )
+
addSmoketest( "mongosTest", [ add_exe( 'mongos' ) ])
addSmokeSuite( "smokeCppUnittests", "$UNITTEST_LIST" )
addSmokeSuite( "smokeModuleTests", "$MODULETEST_LIST" )