Tester now appreciates the test target. Modified 'cmd' in specs.

This commit is contained in:
Dominik Picheta 2014-04-16 21:28:19 +01:00
commit 2fb5d62927
24 changed files with 31 additions and 31 deletions

View file

@ -10,7 +10,7 @@
import parseutils, strutils, os, osproc, streams, parsecfg
const
cmdTemplate* = r"nimrod cc --hints:on $# $#"
cmdTemplate* = r"nimrod $target --hints:on $options $file"
type
TTestAction* = enum
@ -51,6 +51,7 @@ type
const
targetToExt*: array[TTarget, string] = ["c", "cpp", "m", "js"]
targetToCmd*: array[TTarget, string] = ["c", "cpp", "objc", "js"]
when not defined(parseCfgBool):
# candidate for the stdlib: