summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2012-08-15 15:44:00 -0400
committerSpencer T Brody <spencer@10gen.com>2012-09-04 16:06:39 -0400
commit91b22ce9bbf990ea4aa67cf7371335d2e9057781 (patch)
tree8d841dd3c83b5a0d59dca5f97cb38f0b5be6f14f /buildscripts
parentc4e7618b8f88beaf6e0ee7e549cccd2eec9abd27 (diff)
downloadmongo-91b22ce9bbf990ea4aa67cf7371335d2e9057781.tar.gz
Skip client tests when running with auth. SERVER-4237
Diffstat (limited to 'buildscripts')
-rwxr-xr-xbuildscripts/smoke.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py
index 7740756b42f..1523c4cbe35 100755
--- a/buildscripts/smoke.py
+++ b/buildscripts/smoke.py
@@ -325,20 +325,26 @@ def ternary( b , l="true", r="false" ):
# Blech.
def skipTest(path):
basename = os.path.basename(path)
- parentDir = os.path.basename(os.path.dirname(path))
+ parentPath = os.path.dirname(path)
+ parentDir = os.path.basename(parentPath)
if small_oplog: # For tests running in parallel
if basename in ["cursor8.js", "indexh.js", "dropdb.js"]:
return True
if auth or keyFile: # For tests running with auth
# Skip any tests that run with auth explicitly
- if parentDir == "auth" or "auth" in basename or parentDir == "tool": # SERVER-6368
+ if parentDir == "auth" or "auth" in basename:
return True
# These tests don't pass with authentication due to limitations of the test infrastructure,
# not due to actual bugs.
+ if parentDir == "tool": # SERVER-6368
+ return True
+ if parentPath == mongo_repo: # Skip client tests
+ return True
+ # SERVER-6388
if os.path.join(parentDir,basename) in ["sharding/sync3.js", "sharding/sync6.js", "sharding/parallel.js", "jstests/bench_test1.js", "jstests/bench_test2.js", "jstests/bench_test3.js"]:
return True
# These tests fail due to bugs
- if os.path.join(parentDir,basename) in ["sharding/sync_conn_cmd.js"]:
+ if os.path.join(parentDir,basename) in ["sharding/sync_conn_cmd.js"]: # SERVER-6327
return True
return False