forked from M-Labs/artiq
1
0
Fork 0

test/ctlmgr: escape backslashes in sys.executable

This commit is contained in:
Sebastien Bourdeauducq 2016-02-18 10:02:55 +01:00
parent 4940e48d85
commit ca3cced0b4
1 changed files with 3 additions and 2 deletions

View File

@ -60,8 +60,9 @@ class ControllerCase(unittest.TestCase):
"type": "controller", "type": "controller",
"host": "::1", "host": "::1",
"port": 3253, "port": 3253,
"command": sys.executable + " -m artiq.frontend.lda_controller " "command": (sys.executable.replace("\\", "\\\\")
"-p {port} --simulation" + " -m artiq.frontend.lda_controller "
+ "-p {port} --simulation")
} }
async def test(): async def test():
await self.start("lda_sim", entry) await self.start("lda_sim", entry)