summaryrefslogtreecommitdiff
path: root/buildscripts/utils.py
diff options
context:
space:
mode:
authorDan Crosta <dcrosta@10gen.com>2012-07-10 11:40:09 -0400
committerDan Crosta <dcrosta@10gen.com>2012-07-10 11:40:48 -0400
commit455986e93daa3fbcbc7bf2e3d7e25bbb36857cef (patch)
tree5e5c5f9dfc7989c7ea324cf6a06f41a69ceb1fd7 /buildscripts/utils.py
parent14437a41de691351aede2efd6d73b4733e50092d (diff)
downloadmongo-455986e93daa3fbcbc7bf2e3d7e25bbb36857cef.tar.gz
smoke.py: run cleanbb before each test phase
Diffstat (limited to 'buildscripts/utils.py')
-rw-r--r--buildscripts/utils.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/buildscripts/utils.py b/buildscripts/utils.py
index ac6b3ed70be..1f04d7b6af4 100644
--- a/buildscripts/utils.py
+++ b/buildscripts/utils.py
@@ -193,7 +193,10 @@ def smoke_command(*args):
# invocation of smoke.py
here = os.path.dirname(__file__)
smoke_py = os.path.abspath(os.path.join(here, 'smoke.py'))
- return [find_python(), smoke_py] + list(args)
+ # the --with-cleanbb argument causes smoke.py to run
+ # buildscripts/cleanbb.py before each test phase; this
+ # prevents us from running out of disk space on slaves
+ return [find_python(), smoke_py, '--with-cleanbb'] + list(args)
def run_smoke_command(*args):
# to run a command line script from a scons Alias (or any