summaryrefslogtreecommitdiff
path: root/buildscripts/smoke.py
diff options
context:
space:
mode:
authorDan Crosta <dcrosta@10gen.com>2012-07-11 09:23:13 -0400
committerDan Crosta <dcrosta@10gen.com>2012-07-11 09:23:25 -0400
commit3f2b168bcdc5c0910e10eb35e03147c34de8c78e (patch)
tree9eadd0d0cbbe056e1b70b0ec8480613357d5fe5a /buildscripts/smoke.py
parent14bfa6739f70046de8e3bf5e0d1d8ccd10fefdaf (diff)
downloadmongo-3f2b168bcdc5c0910e10eb35e03147c34de8c78e.tar.gz
smoke.py: don't fail if no tests specified
Diffstat (limited to 'buildscripts/smoke.py')
-rwxr-xr-xbuildscripts/smoke.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py
index 9fda306bc42..ffbe4827436 100755
--- a/buildscripts/smoke.py
+++ b/buildscripts/smoke.py
@@ -836,7 +836,8 @@ def main():
tests = filter( lambda x : ignore_patt.search( x[0] ) == None, tests )
if not tests:
- raise Exception( "no tests specified" )
+ print "warning: no tests specified"
+ return
if options.with_cleanbb:
dbroot = os.path.join(options.smoke_db_prefix, 'data', 'db')