Support running the tests in the debugger.
Bug 1039112 Change-Id: I4e449cebe8dbc4e8f591930de6551304354e1dd0
This commit is contained in:
parent
a56b63e4bb
commit
d04e99a513
@ -350,9 +350,8 @@ if __name__ == '__main__':
|
||||
do_monkeypatch = False
|
||||
else:
|
||||
argv.append(x)
|
||||
if do_monkeypatch:
|
||||
eventlet.patcher.monkey_patch(all=False, socket=True, time=True,
|
||||
thread=True)
|
||||
eventlet.patcher.monkey_patch(all=False, socket=True, time=True,
|
||||
thread=do_monkeypatch)
|
||||
testdir = os.path.abspath(os.path.join("tests"))
|
||||
c = config.Config(stream=sys.stdout,
|
||||
env=os.environ,
|
||||
|
Loading…
x
Reference in New Issue
Block a user