[svn r38216] Adjusting the conftest-for-socketgateway example so it takes care of the -S
option (like the default one does), this caused some test failure. --HG-- branch : trunk
This commit is contained in:
parent
9a0fa93ce6
commit
0bd286ba94
|
@ -16,6 +16,15 @@ from py.__.test.terminal.remote import RemoteTerminalSession
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
Option = py.test.config.Option
|
||||||
|
|
||||||
|
option = py.test.config.addoptions("execnet options",
|
||||||
|
Option('-S', '',
|
||||||
|
action="store", dest="sshtarget", default=None,
|
||||||
|
help=("target to run tests requiring ssh, e.g. "
|
||||||
|
"user@codespeak.net")),
|
||||||
|
)
|
||||||
|
|
||||||
class MyRSync(py.execnet.RSync):
|
class MyRSync(py.execnet.RSync):
|
||||||
def filter(self, path):
|
def filter(self, path):
|
||||||
if path.endswith('.pyc') or path.endswith('~'):
|
if path.endswith('.pyc') or path.endswith('~'):
|
||||||
|
|
Loading…
Reference in New Issue