summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kreuter <richard@10gen.com>2010-07-14 11:12:59 -0400
committerRichard Kreuter <richard@10gen.com>2010-07-14 11:16:11 -0400
commit538e71eea1df905664a9b0d0427e35da133a98fd (patch)
tree3526e88ee767013f0bc36f4cbf15f30c02e5d526
parent65b1a70858613b866440bcebbe6d2fb8f55ea1d4 (diff)
downloadmongo-538e71eea1df905664a9b0d0427e35da133a98fd.tar.gz
New scons v1.4 targets: smokeJsSlowNightly, smokeJsSlowWeekly. SERVER-1361
-rw-r--r--SConstruct9
1 files changed, 9 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 65457d2f459..9cf944df81d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1282,6 +1282,13 @@ def runShellTest( env, target, source ):
spec = [ x.abspath for x in g ]
elif target == "smokeJsSlow":
spec = [x.abspath for x in Glob(jsSpec(["slow/*"]))]
+ # Targets for compatibility w/1.5.x. Have SlowNightly does
+ # nothing, SlowWeekly does all the slow tests.
+ elif target == "smokeJsSlowNightly":
+ spec = []
+ elif target == "smokeJsSlowWeekly":
+ spec = [x.abspath for x in Glob(jsSpec(["slow/*"]))]
+
elif target == "smokeParallel":
spec = [x.abspath for x in Glob(jsSpec(["parallel/*"]))]
else:
@@ -1300,6 +1307,8 @@ if not onlyServer and not noshell:
addSmoketest( "smokeSharding", [ "mongo", "mongod", "mongos" ], [ jsDirTestSpec( "sharding" ) ] )
addSmoketest( "smokeJsPerf", [ "mongo" ], runShellTest )
addSmoketest("smokeJsSlow", [add_exe("mongo")], runShellTest)
+ addSmoketest("smokeJsSlowNightly", [add_exe("mongo")], runShellTest)
+ addSmoketest("smokeJsSlowWeekly", [add_exe("mongo")], runShellTest)
addSmoketest( "smokeQuota", [ "mongo" ], runShellTest )
addSmoketest( "smokeTool", [ add_exe( "mongo" ) ], [ jsDirTestSpec( "tool" ) ] )