You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix shlex splitting when launching parallel browser test runner on Windows. (#25222)
Fix shlex splitting when launching parallel browser test runner on
Windows.
Before this PR, running
```
set EMTEST_BROWSER=C:\Program Files\Mozilla Firefox\firefox.exe
test\runner browser
```
would fail with the parallel test harness attempting to launch browser
command line
`["C:\Program Files\Mozilla Firefox\firefox.exe -profile
C:\emsdk\emscripten\main\out\profile-1"]`
when it should instead have attempted to launch command line
`["C:\Program Files\Mozilla Firefox\firefox.exe", "-profile",
"C:\emsdk\emscripten\main\out\profile-1"]`
Fix by having the browser config first do the shlex stuff to interpret
`EMTEST_BROWSER`, and only then append the list of strings of command
line args, rather than first append the command line args as a string
spaghetti, and using shlex split to parse the resulting command line
string.
0 commit comments