summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2018-12-23 14:00:37 -0800
committerAndreas Rumpf <rumpf_a@web.de>2018-12-23 23:00:37 +0100
commit5f2b66751ac0a3115e6b4760f067332e80264195 (patch)
treeb993b8f090313b302a372a88457a41b67e0becea
parente1d5356ae9fe0e289cc6fe21fec486c54f89400a (diff)
downloadNim-5f2b66751ac0a3115e6b4760f067332e80264195.tar.gz
fix #10049 (#10083)
-rw-r--r--testament/categories.nim2
-rw-r--r--testament/specs.nim2
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")