parent
e1d5356ae9
commit
5f2b66751a
2 changed files with 2 additions and 2 deletions
|
|
@ -599,7 +599,7 @@ proc runJoinedTest(r: var TResults, cat: Category, testsDir: string) =
|
||||||
writeFile("megatest.nim", megatest)
|
writeFile("megatest.nim", megatest)
|
||||||
|
|
||||||
const args = ["c", "-d:testing", "--listCmd", "megatest.nim"]
|
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:
|
if exitCode != 0:
|
||||||
echo buf
|
echo buf
|
||||||
quit("megatest compilation failed")
|
quit("megatest compilation failed")
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
import parseutils, strutils, os, osproc, streams, parsecfg
|
import parseutils, strutils, os, osproc, streams, parsecfg
|
||||||
|
|
||||||
var compilerPrefix* = "compiler" / "nim"
|
var compilerPrefix* = "compiler" / "nim" ## built via ./koch tests
|
||||||
|
|
||||||
let isTravis* = existsEnv("TRAVIS")
|
let isTravis* = existsEnv("TRAVIS")
|
||||||
let isAppVeyor* = existsEnv("APPVEYOR")
|
let isAppVeyor* = existsEnv("APPVEYOR")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue