diff options
author | Aaron <aaron@10gen.com> | 2009-04-02 16:56:39 -0400 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-04-02 16:56:39 -0400 |
commit | c04804725863ce6b8c0e4034a64f738c327fb5a5 (patch) | |
tree | 7d6274a73fbbdc789d57b439e540792177fd0064 | |
parent | fd69be43c99b92a9243fc3d89cecb31bed0d06a6 (diff) | |
download | mongo-c04804725863ce6b8c0e4034a64f738c327fb5a5.tar.gz |
add smokeAllNoJs target
-rw-r--r-- | SConstruct | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index f5be4c7efe7..ecfa01a755c 100644 --- a/SConstruct +++ b/SConstruct @@ -774,6 +774,18 @@ testEnv.AlwaysBuild( "addMongodReqTargets" ) testEnv.Alias( "smokeAll", [ "smoke", "mongosTest", "smokeClone", "smokeRepl", "addMongodReqTargets", "smokeRecovery", "smokeSharding" ] ) testEnv.AlwaysBuild( "smokeAll" ) +def addMongodReqNoJsTargets( env, target, source ): + mongodReqTargets = [ "smokeClient" ] + for target in mongodReqTargets: + testEnv.Depends( target, "startMongod" ) + testEnv.Depends( "smokeAllNoJs", target ) + +testEnv.Alias( "addMongodReqNoJsTargets", [], [addMongodReqNoJsTargets] ) +testEnv.AlwaysBuild( "addMongodReqNoJsTargets" ) + +testEnv.Alias( "smokeAllNoJs", [ "smoke", "mongosTest", "addMongodReqNoJsTargets" ] ) +testEnv.AlwaysBuild( "smokeAllNoJs" ) + import atexit atexit.register( stopMongodForTests ) |