diff options
author | Randolph Tan <randolph@10gen.com> | 2014-05-02 11:18:51 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2014-05-02 21:29:54 -0400 |
commit | 8fe31447b9d21521aa8022a24b4b1c27747c2ba5 (patch) | |
tree | 29bea5a23b3fcb3ed3da79f27443f2e94a9b8731 /buildscripts | |
parent | 77560aae4f27785ed2005785c5d2310bdcee7129 (diff) | |
download | mongo-8fe31447b9d21521aa8022a24b4b1c27747c2ba5.tar.gz |
SERVER-13795 rename test binary to dbtest
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/smoke.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py index 35adf159b17..cb9bf52f5d3 100755 --- a/buildscripts/smoke.py +++ b/buildscripts/smoke.py @@ -495,7 +495,7 @@ def runTest(test, result): argv += [path] elif ext in ["", ".exe"]: # Blech. - if os.path.basename(path) in ["test", "test.exe", "perftest", "perftest.exe"]: + if os.path.basename(path) in ["dbtest", "dbtest.exe", "perftest", "perftest.exe"]: argv = [path] # default data directory for test and perftest is /tmp/unittest if smoke_db_prefix: @@ -550,7 +550,7 @@ def runTest(test, result): argv = argv + [ '--eval', evalString] - if argv[0].endswith( 'test' ) or argv[0].endswith( 'test.exe' ): + if argv[0].endswith( 'dbtest' ) or argv[0].endswith( 'dbtest.exe' ): if no_preallocj : argv = argv + [ '--nopreallocj' ] if temp_path: @@ -902,7 +902,7 @@ def expand_suites(suites,expandUseDB=True): module_suites = get_module_suites() for suite in suites: if suite == 'all': - return expand_suites(['test', + return expand_suites(['dbtest', 'perf', 'jsCore', 'jsPerf', @@ -917,11 +917,11 @@ def expand_suites(suites,expandUseDB=True): 'slow2', 'tool'], expandUseDB=expandUseDB) - if suite == 'test': + if suite == 'dbtest' or suite == 'test': if os.sys.platform == "win32": - program = 'test.exe' + program = 'dbtest.exe' else: - program = 'test' + program = 'dbtest' (globstr, usedb) = (program, False) elif suite == 'perf': if os.sys.platform == "win32": @@ -1083,7 +1083,7 @@ def run_old_fails(): continue filename = os.path.basename(path) - if filename in ('test', 'test.exe') or filename.endswith('.js'): + if filename in ('dbtest', 'dbtest.exe') or filename.endswith('.js'): set_globals(options, [filename]) oldWinners = len(winners) run_tests([test]) |