buildNimPackage: use nimFlags in checkPhase
This commit is contained in:
parent
380a34d03c
commit
b9c260884b
|
@ -150,7 +150,7 @@ proc checkPhase*() =
|
||||||
proc before(idx: int) =
|
proc before(idx: int) =
|
||||||
echo "check job ", idx, ": ", cmds[idx]
|
echo "check job ", idx, ": ", cmds[idx]
|
||||||
for path in walkPattern("tests/t*.nim"):
|
for path in walkPattern("tests/t*.nim"):
|
||||||
cmds.add("nim r $#" % [path])
|
cmds.add("nim r $# $#" % [getenv("nimFlags"), path])
|
||||||
let err = execProcesses(
|
let err = execProcesses(
|
||||||
cmds, n = 1,
|
cmds, n = 1,
|
||||||
beforeRunEvent = before)
|
beforeRunEvent = before)
|
||||||
|
|
Loading…
Reference in a new issue