diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2021-04-29 02:25:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 02:25:08 -0700 |
commit | 87229e272ecd4012b750215d35e914580cd8475c (patch) | |
tree | 702ba3527005028375e51af9322fe38aa7457af9 /tests/osproc/treadlines.nim | |
parent | 016a8ccd7a8a018b28e8f424085c178d96860c6c (diff) | |
download | Nim-87229e272ecd4012b750215d35e914580cd8475c.tar.gz |
fix #17853 (ascii message separator broke json nim dump) (#17887)
Diffstat (limited to 'tests/osproc/treadlines.nim')
-rw-r--r-- | tests/osproc/treadlines.nim | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/osproc/treadlines.nim b/tests/osproc/treadlines.nim index 436dd7a10..bcde19d7f 100644 --- a/tests/osproc/treadlines.nim +++ b/tests/osproc/treadlines.nim @@ -1,15 +1,18 @@ discard """ - output: '''Error: cannot open 'a.nim'\31 + output: ''' +Error: cannot open 'a.nim'\31 Error: cannot open 'b.nim'\31 ''' targets: "c" """ import osproc +from std/os import getCurrentCompilerExe var ps: seq[Process] # compile & run 2 progs in parallel +const nim = getCurrentCompilerExe() for prog in ["a", "b"]: - ps.add startProcess("nim", "", + ps.add startProcess(nim, "", ["r", "--hint[Conf]=off", "--hint[Processing]=off", prog], options = {poUsePath, poDaemon, poStdErrToStdOut}) |