From 51fc903dbf26a30add2ec75bbdc01a403cb2d46c Mon Sep 17 00:00:00 2001 From: Oscar Campbell Date: Wed, 3 Jun 2015 13:08:28 +0200 Subject: [PATCH] Made pathing (hopefully) Windows friendly. --- koch.nim | 2 +- tests/testament/specs.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koch.nim b/koch.nim index 83737d751c..8962acdc15 100644 --- a/koch.nim +++ b/koch.nim @@ -332,7 +332,7 @@ template `|`(a, b): expr = (if a.len > 0: a else: b) proc tests(args: string) = # Since tests take a long time (on my machine) - lets make sure a stupid # mistake - like forgetting to compile the compiler - isn't made... - exec "nim c --lib:./lib -d:release compiler/nim.nim" + exec "nim c --lib:lib -d:release compiler/nim.nim" # we compile the tester with taintMode:on to have a basic # taint mode test :-) exec "nim cc --taintMode:on tests/testament/tester" diff --git a/tests/testament/specs.nim b/tests/testament/specs.nim index a4b1b82838..99640f22c3 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"./compiler/nim $target --lib:./lib --hints:on -d:testing $options $file" + cmdTemplate* = r"compiler" / "nim $target --lib:lib --hints:on -d:testing $options $file" type TTestAction* = enum