diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2018-12-23 14:00:37 -0800 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-12-23 23:00:37 +0100 |
commit | 5f2b66751ac0a3115e6b4760f067332e80264195 (patch) | |
tree | b993b8f090313b302a372a88457a41b67e0becea | |
parent | e1d5356ae9fe0e289cc6fe21fec486c54f89400a (diff) | |
download | Nim-5f2b66751ac0a3115e6b4760f067332e80264195.tar.gz |
fix #10049 (#10083)
-rw-r--r-- | testament/categories.nim | 2 | ||||
-rw-r--r-- | testament/specs.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testament/categories.nim b/testament/categories.nim index ecaead9ef..55b9e5ed2 100644 --- a/testament/categories.nim +++ b/testament/categories.nim @@ -599,7 +599,7 @@ proc runJoinedTest(r: var TResults, cat: Category, testsDir: string) = writeFile("megatest.nim", megatest) const args = ["c", "-d:testing", "--listCmd", "megatest.nim"] - var (buf, exitCode) = execCmdEx2(command = "nim", args = args, options = {poStdErrToStdOut, poUsePath}, input = "") + var (buf, exitCode) = execCmdEx2(command = compilerPrefix, args = args, options = {poStdErrToStdOut, poUsePath}, input = "") if exitCode != 0: echo buf quit("megatest compilation failed") diff --git a/testament/specs.nim b/testament/specs.nim index df12db543..22ad7d2f8 100644 --- a/testament/specs.nim +++ b/testament/specs.nim @@ -9,7 +9,7 @@ import parseutils, strutils, os, osproc, streams, parsecfg -var compilerPrefix* = "compiler" / "nim" +var compilerPrefix* = "compiler" / "nim" ## built via ./koch tests let isTravis* = existsEnv("TRAVIS") let isAppVeyor* = existsEnv("APPVEYOR") |