Author: Ronny Pfannschmidt <[email protected]>
Branch: refine-testrunner
Changeset: r55885:1a01c0306d54
Date: 2012-07-01 17:02 +0200
http://bitbucket.org/pypy/pypy/changeset/1a01c0306d54/
Log: kill some unused/dead testrunner runparam methods
diff --git a/testrunner/runner.py b/testrunner/runner.py
--- a/testrunner/runner.py
+++ b/testrunner/runner.py
@@ -38,7 +38,7 @@
def worker(num, n, run_param, testdirs, result_queue):
sessdir = run_param.sessdir
root = run_param.root
- get_test_driver = run_param.get_test_driver
+ test_driver = run_param.test_driver
interp = run_param.interp
dry_run = run_param.dry_run
timeout = run_param.timeout
@@ -61,7 +61,6 @@
else:
runfunc = util.run
try:
- test_driver = get_test_driver(test)
exitcode = execute_test(root, test, one_output, logfname,
interp, test_driver, runfunc=runfunc,
timeout=timeout)
@@ -104,8 +103,6 @@
keep=4)
run_param.sessdir = sessdir
- run_param.startup()
-
N = run_param.parallel_runs
failure = False
@@ -145,8 +142,6 @@
if logdata:
logfile.write(logdata)
- run_param.shutdown()
-
return failure
@@ -166,15 +161,6 @@
def __init__(self, opts):
self.root = py.path.local(opts.root)
- def startup(self):
- pass
-
- def shutdown(self):
- pass
-
- def get_test_driver(self, testdir):
- return self.test_driver
-
def is_test_py_file(self, p):
name = p.basename
return name.startswith('test_') and name.endswith('.py')
@@ -224,7 +210,6 @@
else:
out = open(opts.output, WRITE_MODE)
-
testdirs = []
run_param = RunParam(opts)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit