diff options
author | Jacek Sieka <arnetheduck@gmail.com> | 2017-11-19 16:22:36 +0800 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-11-19 09:22:36 +0100 |
commit | 035f0fb023d4b8fddc838eb9b11b1385afa7e25e (patch) | |
tree | 50aab619cb56a247d8a26b3697a4a3974e3064c2 /tests | |
parent | aac94e0ab58e9bdc896a59422d4ab9dcb87bb9e3 (diff) | |
download | Nim-035f0fb023d4b8fddc838eb9b11b1385afa7e25e.tar.gz |
pass nim path to subprocess testament (#6779)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testament/tester.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim index 23068a1e0..2f0485135 100644 --- a/tests/testament/tester.nim +++ b/tests/testament/tester.nim @@ -465,7 +465,10 @@ proc main() = let testsDir = "tests" & DirSep var myself = quoteShell(findExe("tests" / "testament" / "tester")) if targetsStr.len > 0: - myself &= " '--targets:" & targetsStr & "'" + myself &= " " & quoteShell("--targets:" & targetsStr) + + myself &= " " & quoteShell("--nim:" & compilerPrefix) + var cmds: seq[string] = @[] let rest = if p.cmdLineRest.string.len > 0: " " & p.cmdLineRest.string else: "" for kind, dir in walkDir(testsDir): |