diff options
author | Scott Hernandez <scotthernandez@gmail.com> | 2014-03-26 11:08:45 -0400 |
---|---|---|
committer | Scott Hernandez <scotthernandez@gmail.com> | 2014-03-26 12:15:41 -0400 |
commit | 007615e15991a43a0cc37f2ff4821d711a748dcd (patch) | |
tree | 912b03c43e84bcfb63d8eff052ddc6bec0cdf056 /buildscripts | |
parent | 51cd272bb6001d6403728dbd0dbdecf168811a19 (diff) | |
download | mongo-007615e15991a43a0cc37f2ff4821d711a748dcd.tar.gz |
SERVER-13297: enable core suite for commands and add scons smokeJsCore test
(cherry picked from commit 01a5355e051de90c93a5f1784c05ed314c797c7a)
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/smoke.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py index df6819063d6..ba9e9f55d00 100755 --- a/buildscripts/smoke.py +++ b/buildscripts/smoke.py @@ -443,10 +443,10 @@ def skipTest(path): return False def setShellWriteModeForTest(path, argv): - forceCommandsForSuite = ["aggregation", "replsets", "parallel"] + forceCommandsForSuite = ["aggregation", "replsets", "parallel", "core"] swm = shell_write_mode; if swm == "legacy": # change when the default changes to "commands" - if use_write_commands or [s for s in forceCommandsForSuite if s in path]: + if use_write_commands or any("jstests/" + s in path for s in forceCommandsForSuite): swm = "commands" argv += ["--writeMode", swm] @@ -814,7 +814,7 @@ def report(): # Keys are the suite names (passed on the command line to smoke.py) # Values are pairs: (filenames, <start mongod before running tests>) -suiteGlobalConfig = {"js": ("[!_]*.js", True), +suiteGlobalConfig = {"js": ("core/[!_]*.js", True), "quota": ("quota/*.js", True), "jsPerf": ("perf/*.js", True), "disk": ("disk/*.js", True), |