summary refs log tree commit diff stats
path: root/tests/testament/specs.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testament/specs.nim')
-rw-r--r--tests/testament/specs.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testament/specs.nim b/tests/testament/specs.nim
index 65e17a453..225ea1891 100644
--- a/tests/testament/specs.nim
+++ b/tests/testament/specs.nim
@@ -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: