2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

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

View File

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