From 5f2b66751ac0a3115e6b4760f067332e80264195 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Sun, 23 Dec 2018 14:00:37 -0800 Subject: [PATCH] fix #10049 (#10083) --- testament/categories.nim | 2 +- 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")